-------------------------------------------------------------------------------
       log:  /afs/ir.stanford.edu/users/t/o/tomz/GRT_IO_2007/GRT_IO_2007.log
  log type:  text
 opened on:  16 Jul 2007, 12:08:37

. 
. 
. **************************************
. * DESCRIBE AND SUMMARIZE RAW DATASET *
. **************************************
. 
. des

Contains data from GRT_IO_2007.dta
  obs:       381,656                          
 vars:            25                          15 Jul 2007 18:22
 size:    46,943,688 (85.1% of memory free)
-------------------------------------------------------------------------------
              storage  display     value
variable name   type   format      label      variable label
-------------------------------------------------------------------------------
name_1          str33  %33s                   NAME_1
name_2          str33  %33s                   NAME_2
tomz_1          int    %10.0g                 Code for country 1
tomz_2          int    %10.0g                 Code for country 2
directed_dyad~d float  %9.0g                  FE: one for each directed dyad
year            int    %10.0g                 YEAR
imports         float  %9.0g                  Imports: log of 1967 US$
gatt_1          str7   %9s                    GATT: Status of country 1
gatt_2          str7   %9s                    GATT: Status of country 2
gatt35_1        byte   %10.0g                 GATT35_1
gatt35_2        byte   %10.0g                 GATT35_2
colorbit        byte   %8.0g                  COL: In same colonial orbit
currencyunion   byte   %10.0g                 Strict currency union (Rose)
gsp             byte   %8.0g                  GSP: Exists in dyad
ptarecip        byte   %8.0g                  Reciprocal PTA
ptanonrecip     byte   %8.0g                  Non-reciprocal PTA
distance        float  %9.0g                  GEO: Log of distance (km)
share_border    byte   %10.0g                 GEO: Countries share land border
landlocked      byte   %8.0g                  GEO: # of landlocked countries
island          byte   %8.0g                  GEO: Number of islands
land_area       float  %9.0g                  GEO: Log Product land area
share_language  byte   %10.0g                 CULT: Main language in common
gdp             float  %9.0g                  ECON: GDP Log product ('67 USD)
industrial_both byte   %8.0g                  ECON: Both industrial
industrial_none byte   %8.0g                  ECON: None industrial
-------------------------------------------------------------------------------
Sorted by:  name_1  name_2  year

. su

    Variable |       Obs        Mean    Std. Dev.       Min        Max
-------------+--------------------------------------------------------
      name_1 |         0
      name_2 |         0
      tomz_1 |    381656     526.176    86.13674        383        811
      tomz_2 |    381656    525.7769    87.97122        383        811
directed_d~d |    381656    526701.8    86145.62     383390     811760
-------------+--------------------------------------------------------
        year |    381656    1980.795    15.55952       1946       2004
     imports |    381656    15.17295    2.287846   11.51302   24.55006
      gatt_1 |         0
      gatt_2 |         0
    gatt35_1 |    381656    .0032045    .0565172          0          1
-------------+--------------------------------------------------------
    gatt35_2 |    381656    .0030918    .0555179          0          1
    colorbit |    381656    .0042525    .0650726          0          1
currencyun~n |    381656    .0114658    .1064631          0          1
         gsp |    381656    .3087126    .4619628          0          1
    ptarecip |    381656    .1192383    .3240691          0          1
-------------+--------------------------------------------------------
 ptanonrecip |    381656    .0627738     .242556          0          1
    distance |    381656    8.544438    .8510218   4.772036   9.895504
share_border |    381656    .0462982    .2101305          0          1
  landlocked |    381656    .2542316    .4740178          0          2
      island |    381656    .1829213    .4096308          0          2
-------------+--------------------------------------------------------
   land_area |    381656    25.11978    2.651946   13.47495    32.9672
share_lang~e |    381656    .1270725    .3330547          0          1
         gdp |    381656    45.84444    2.460036   35.82043   55.88262
industrial~h |    381656    .0759087    .2648523          0          1
industrial~e |    381656     .413257    .4924188          0          1

. 
. *****************************************************
. * CREATE DUMMY VARIABLES FOR GATT/WTO PARTICIPATION *
. *****************************************************
. 
. * Gatt: Formal membership
. gen byte gattF_1 = cond(gatt_1=="wto"|gatt_1=="art33"|gatt_1=="orig"|gatt_1==
> "art26:5", 1, 0)  /* GATT: Country 1 is formal member */

. gen byte gattF_2 = cond(gatt_2=="wto"|gatt_2=="art33"|gatt_2=="orig"|gatt_2==
> "art26:5", 1, 0)  /* GATT: Country 2 is formal member */

. 
. * Gatt: Nonmember participant
. gen byte gattN_1 = cond(gatt_1=="col"|gatt_1=="df"|gatt_1=="prov", 1, 0) /* G
> ATT: Country 1 is a NMP */

. gen byte gattN_2 = cond(gatt_2=="col"|gatt_2=="df"|gatt_2=="prov", 1, 0) /* G
> ATT: Country 2 is a NMP */

. 
. * Gatt: Participation (EITHER formal OR defacto)
. gen byte gattP_1 = cond(gatt_1=="out", 0, 1) /* GATT: Country 1 participates 
> */

. gen byte gattP_2 = cond(gatt_2=="out", 0 ,1) /* GATT: Country 2 participates 
> */

. 
. * Gatt: Interactions
. gen byte gattPP = cond(gattP_1==1 & gattP_2==1, 1, 0)

. label var gattPP "GATT: Both Participate"

. gen byte gattPO = cond((gattP_1==1 & gattP_2==0)|(gattP_1==0 & gattP_2==1), 1
> , 0)

. label var gattPO "GATT: Only one participates"

. gen byte gattFF = cond(gattF_1==1 & gattF_2==1,1,0)

. label var gattFF "GATT: Both are formal members"

. gen byte gattFN = cond((gattF_1==1 & gattN_2==1)|(gattN_1==1 & gattF_2==1),1,
> 0)

. label var gattFN "GATT: One formal, one NMP"

. gen byte gattFO = cond((gattF_1==1 & gattP_2==0)|(gattP_1==0 & gattF_2==1),1,
> 0)

. label var gattFO "GATT: One formal, other is out"

. gen byte gattNN = cond(gattN_1==1 & gattN_2==1,1,0)

. label var gattNN "GATT: Both nonmbr participants"

. gen byte gattNO = cond((gattN_1==1 & gattP_2==0)|(gattP_1==0 & gattN_2==1),1,
> 0)

. label var gattNO "GATT: One NMP, other is out"

. drop gattF_1 gattF_2 gattN_1 gattN_2 gattP_1 gattP_2 

. 
. gen byte round1 = cond(year < 1949, 1, 0)                 /* GATT pre Annecy 
> round */

. gen byte round2 = cond(year >= 1949 & year < 1951, 1, 0)  /* Annecy to Torqua
> y round */

. gen byte round3 = cond(year >= 1951 & year < 1956, 1, 0)  /* Torquay to Genev
> a */

. gen byte round4 = cond(year >= 1956 & year < 1961, 1, 0)  /* Geneva to Dillon
>  */

. gen byte round5 = cond(year >= 1961 & year < 1967, 1, 0)  /* Dillon to Kenned
> y */

. gen byte round6 = cond(year >= 1967 & year < 1979, 1, 0)  /* Kennedy to Tokyo
>  */

. gen byte round7 = cond(year >= 1979 & year < 1994, 1, 0)  /* Tokyo to Uruguay
>  */

. gen byte round8 = cond(year >= 1994, 1, 0)                /* After Uruguay ro
> und */

. forvalues i = 1/8 {                                  /* create variables for 
> each of 8 rounds */ 
  2.    gen byte gattPP_round`i' = gattPP * round`i'
  3.    label var gattPP_round`i' "GATT: Both Participate, Round `i'"          
>     
  4.    gen byte gattPO_round`i' = gattPO * round`i'
  5.    label var gattPO_round`i' "GATT: One Participates, Round `i'"          
>    
  6.    local gattPPbyround `gattPPbyround' gattPP_round`i'
  7.    local gattPObyround `gattPObyround' gattPO_round`i'
  8. }

. drop round1-round8

. 
. * Article 35 invoked by one or both countries?
. gen byte gatt35x1 = cond((gatt35_1==1 & gatt35_2==0)|(gatt35_1==0 & gatt35_2=
> =1),1,0) /* only one invokes */

. label var gatt35x1 "GATT: One invokes Art 35"

. gen byte gatt35x2 = cond(gatt35_1==1 & gatt35_2==1,1,0)  /* both invoke */

. label var gatt35x2 "GATT: Both invoke Art 35"

. 
. ****************************
. * GENERATE OTHER VARIABLES *
. ****************************
. 
. quietly tab year, gen(yeardummy)

. gen byte ptarecip_nohigher = cond(ptarecip == 1 & colorbit==0, 1, 0)

. gen byte ptarecip_withhigher = cond(ptarecip == 1 & colorbit==1, 1, 0)

. gen byte gattPP_nocolrecip = cond(gattPP == 1 & colorbit==0 & ptarecip==0, 1,
>  0)

. gen byte gattPP_withcolrecip = cond(gattPP == 1 & (colorbit==1 | ptarecip==1)
> ,1,0)

. gen byte gattPO_nocolrecip = cond(gattPO == 1 & colorbit==0 & ptarecip==0, 1,
>  0)

. gen byte gattPO_withcolrecip = cond(gattPO == 1 & (colorbit==1 | ptarecip==1)
> ,1,0)

. gen byte nonrecip_nohigher = cond((gsp==1 | ptanonrecip==1) & colorbit == 0 &
>  ptarecip==0 & gattPP==0 & gattPO==0,1,0)

. gen byte nonrecip_withhigher = cond((gsp==1 | ptanonrecip==1) & (colorbit==1 
> | ptarecip==1 | gattPP==1 | gattPO==1),1,0)

. 
. ************************************************************
. * TABLE 1: THE APPARENT IRRELEVANCE OF GATT/WTO MEMBERSHIP *
. ************************************************************
. 
. di in white _n(2) "Formal membership only: full gravity model with time effec
> ts"


Formal membership only: full gravity model with time effects

. areg imports gattFF gattFO ptarecip ptanonrecip gsp currencyunion colorbit gd
> p distance share_language share_border landlocked island land_area, absorb(ye
> ar) cluster(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 14, 17358) = 2455.81
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.6130
                                                       Adj R-squared =  0.6130
                                                       Root MSE      =  1.4234

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattFF |  -.0700806   .0257019    -2.73   0.006     -.120459   -.0197022
      gattFO |   -.211151   .0250038    -8.44   0.000    -.2601609    -.162141
    ptarecip |   .3344102   .0265998    12.57   0.000     .2822719    .3865485
 ptanonrecip |   .1393633   .0349913     3.98   0.000     .0707769    .2079498
         gsp |  -.0970094   .0216091    -4.49   0.000    -.1393654   -.0546533
currencyun~n |   1.009628   .0750583    13.45   0.000     .8625062     1.15675
    colorbit |    1.75482   .1039373    16.88   0.000     1.551092    1.958547
         gdp |   .7711781   .0051799   148.88   0.000     .7610249    .7813313
    distance |  -.7084821   .0149917   -47.26   0.000    -.7378674   -.6790968
share_lang~e |   .3565317   .0340144    10.48   0.000       .28986    .4232033
share_border |    .576952   .0594919     9.70   0.000     .4603419    .6935621
  landlocked |  -.1421373   .0197534    -7.20   0.000    -.1808559   -.1034187
      island |   .2368898   .0316561     7.48   0.000     .1748407     .298939
   land_area |  -.0950277    .004873   -19.50   0.000    -.1045792   -.0854761
       _cons |  -11.75428   .2517132   -46.70   0.000    -12.24766   -11.26089
-------------+----------------------------------------------------------------
        year |   absorbed                                      (59 categories)

. estimates store t1_c1

. di in white _n(2) "Formal membership only: gravity model with directed-dyad a
> nd time effects, sample=`i'"


Formal membership only: gravity model with directed-dyad and time effects, samp
> le=

. areg import gattFF gattFO ptarecip ptanonrecip gsp currencyunion colorbit gdp
>  yeardummy*, absorb(directed_dyad_id) cluster(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 66, 17358) =  283.60
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8393
                                                       Adj R-squared =  0.8393
                                                       Root MSE      =  .93887

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattFF |   .0702185    .019087     3.68   0.000     .0328061    .1076309
      gattFO |  -.0156404   .0185585    -0.84   0.399     -.052017    .0207362
    ptarecip |   .3481917   .0218344    15.95   0.000      .305394    .3909894
 ptanonrecip |  -.0701052   .0313353    -2.24   0.025    -.1315255    -.008685
         gsp |   -.104901   .0187423    -5.60   0.000    -.1416378   -.0681642
currencyun~n |   .4912259    .085858     5.72   0.000     .3229356    .6595161
    colorbit |   .8804374   .0794716    11.08   0.000     .7246651     1.03621
         gdp |   .6650066   .0112219    59.26   0.000     .6430105    .6870027
  yeardummy1 |  (dropped)
  yeardummy2 |   .1866689   .0341101     5.47   0.000     .1198096    .2535282
  yeardummy3 |   .1303769   .0390232     3.34   0.001     .0538874    .2068663
  yeardummy4 |   .1481543   .0405978     3.65   0.000     .0685786    .2277301
  yeardummy5 |  -.0459816   .0416862    -1.10   0.270    -.1276908    .0357276
  yeardummy6 |    .103131   .0424345     2.43   0.015      .019955     .186307
  yeardummy7 |  -.1391408   .0431483    -3.22   0.001    -.2237158   -.0545658
  yeardummy8 |  -.2257231   .0425439    -5.31   0.000    -.3091135   -.1423327
  yeardummy9 |  -.1832813   .0432263    -4.24   0.000    -.2680091   -.0985534
 yeardummy10 |  -.1583799    .043942    -3.60   0.000    -.2445107   -.0722492
 yeardummy11 |  -.1857343   .0439453    -4.23   0.000    -.2718714   -.0995971
 yeardummy12 |  -.1729931   .0445241    -3.89   0.000    -.2602648   -.0857215
 yeardummy13 |  -.2079145   .0443603    -4.69   0.000    -.2948651   -.1209638
 yeardummy14 |  -.2042807   .0447865    -4.56   0.000    -.2920667   -.1164947
 yeardummy15 |  -.2073836   .0451363    -4.59   0.000    -.2958553   -.1189118
 yeardummy16 |  -.2185329   .0455727    -4.80   0.000    -.3078601   -.1292058
 yeardummy17 |  -.2445296   .0460132    -5.31   0.000    -.3347201    -.154339
 yeardummy18 |  -.2648985   .0469535    -5.64   0.000    -.3569321    -.172865
 yeardummy19 |  -.2624046   .0479069    -5.48   0.000     -.356307   -.1685022
 yeardummy20 |  -.3029025   .0486089    -6.23   0.000    -.3981808   -.2076243
 yeardummy21 |  -.3107403   .0495393    -6.27   0.000    -.4078423   -.2136382
 yeardummy22 |  -.3463251   .0502202    -6.90   0.000    -.4447618   -.2478884
 yeardummy23 |  -.2661726   .0502034    -5.30   0.000    -.3645763   -.1677688
 yeardummy24 |  -.2865701   .0506578    -5.66   0.000    -.3858645   -.1872756
 yeardummy25 |   -.282645     .05123    -5.52   0.000     -.383061    -.182229
 yeardummy26 |  -.3278861   .0519928    -6.31   0.000    -.4297972   -.2259751
 yeardummy27 |  -.3534074   .0539724    -6.55   0.000    -.4591989    -.247616
 yeardummy28 |  -.3700711   .0562106    -6.58   0.000    -.4802496   -.2598926
 yeardummy29 |  -.2501072   .0578917    -4.32   0.000    -.3635808   -.1366337
 yeardummy30 |  -.3086687   .0582695    -5.30   0.000    -.4228827   -.1944547
 yeardummy31 |  -.3194153   .0583936    -5.47   0.000    -.4338725    -.204958
 yeardummy32 |  -.2831325   .0591439    -4.79   0.000    -.3990605   -.1672045
 yeardummy33 |  -.3271037    .059959    -5.46   0.000    -.4446293    -.209578
 yeardummy34 |  -.2864682   .0608419    -4.71   0.000    -.4057244    -.167212
 yeardummy35 |  -.2546237   .0608372    -4.19   0.000    -.3738707   -.1353766
 yeardummy36 |  -.2403679   .0598005    -4.02   0.000    -.3575829   -.1231529
 yeardummy37 |  -.2729128   .0589461    -4.63   0.000     -.388453   -.1573725
 yeardummy38 |  -.2841753   .0585273    -4.86   0.000    -.3988948   -.1694559
 yeardummy39 |  -.2314675    .057757    -4.01   0.000     -.344677    -.118258
 yeardummy40 |  -.2544921   .0576686    -4.41   0.000    -.3675284   -.1414558
 yeardummy41 |  -.3622585   .0592328    -6.12   0.000    -.4783609   -.2461562
 yeardummy42 |  -.3848177   .0603843    -6.37   0.000     -.503177   -.2664583
 yeardummy43 |  -.3659033   .0608264    -6.02   0.000    -.4851293   -.2466774
 yeardummy44 |  -.3442637   .0608281    -5.66   0.000    -.4634929   -.2250344
 yeardummy45 |  -.3646497   .0621278    -5.87   0.000    -.4864264    -.242873
 yeardummy46 |  -.4218714   .0623567    -6.77   0.000    -.5440968    -.299646
 yeardummy47 |  -.4533854   .0628671    -7.21   0.000    -.5766113   -.3301595
 yeardummy48 |  -.4231001   .0624116    -6.78   0.000    -.5454331   -.3007671
 yeardummy49 |  -.3826198   .0628287    -6.09   0.000    -.5057703   -.2594693
 yeardummy50 |  -.3557752   .0642276    -5.54   0.000    -.4816678   -.2298826
 yeardummy51 |  -.3666138   .0648124    -5.66   0.000    -.4936527   -.2395749
 yeardummy52 |   -.344824   .0648047    -5.32   0.000    -.4718477   -.2178002
 yeardummy53 |  -.3220239   .0643407    -5.00   0.000    -.4481382   -.1959096
 yeardummy54 |  -.3467355   .0642044    -5.40   0.000    -.4725825   -.2208885
 yeardummy55 |  -.2937739   .0641162    -4.58   0.000     -.419448   -.1680997
 yeardummy56 |  -.2707663   .0641753    -4.22   0.000    -.3965564   -.1449762
 yeardummy57 |  -.2820119   .0647667    -4.35   0.000    -.4089612   -.1550627
 yeardummy58 |  -.2883577    .066494    -4.34   0.000    -.4186927   -.1580228
 yeardummy59 |   -.225406   .0694368    -3.25   0.001    -.3615091   -.0893029
       _cons |  -15.06543   .4843218   -31.11   0.000    -16.01475   -14.11611
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17359 categories)

. estimates store t1_c2

. estimates table t1_c1 t1_c2, se b(%5.2f) keep(gattFF gattFO ptarecip ptanonre
> cip gsp currencyunion colorbit gdp distance share_language share_border landl
> ocked island land_area) stats(rmse r2 N N_clust) stfmt(%9.2f) title("Table 1,
>  page 53") varwidth(15)

Table 1, page 53

-----------------------------------------
       Variable |   t1_c1       t1_c2    
----------------+------------------------
         gattFF |     -0.07        0.07  
                |      0.03        0.02  
         gattFO |     -0.21       -0.02  
                |      0.03        0.02  
       ptarecip |      0.33        0.35  
                |      0.03        0.02  
    ptanonrecip |      0.14       -0.07  
                |      0.03        0.03  
            gsp |     -0.10       -0.10  
                |      0.02        0.02  
  currencyunion |      1.01        0.49  
                |      0.08        0.09  
       colorbit |      1.75        0.88  
                |      0.10        0.08  
            gdp |      0.77        0.67  
                |      0.01        0.01  
       distance |     -0.71              
                |      0.01              
 share_language |      0.36              
                |      0.03              
   share_border |      0.58              
                |      0.06              
     landlocked |     -0.14              
                |      0.02              
         island |      0.24              
                |      0.03              
      land_area |     -0.10              
                |      0.00              
----------------+------------------------
           rmse |      1.42        0.94  
             r2 |      0.61        0.84  
              N | 381656.00   381656.00  
        N_clust |  17359.00    17359.00  
-----------------------------------------
                             legend: b/se

. 
. **********************************************************
. * TABLE 2: THE EFFECT OF PARTICIPATION IN THE GATT/WTO   *
. * TABLE 3: INCREASE IN TRADE AMONG GATT/WTO PARTICIPANTS *
. **********************************************************
. 
. di in white _n(2) "Participation: 5 categories, dyadic fixed effects"


Participation: 5 categories, dyadic fixed effects

. areg imports gattFF gattNN gattFN gattFO gattNO ptarecip ptanonrecip gsp curr
> encyunion colorbit gdp yeardummy*, absorb(directed_dyad_id) cluster(directed_
> dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 69, 17358) =  273.67
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8397
                                                       Adj R-squared =  0.8396
                                                       Root MSE      =  .93772

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattFF |   .3409027   .0337564    10.10   0.000     .2747367    .4070687
      gattNN |   .4471286   .0682404     6.55   0.000     .3133706    .5808867
      gattFN |   .3806567    .035829    10.62   0.000     .3104283    .4508851
      gattFO |   .2004111   .0295829     6.77   0.000     .1424257    .2583966
      gattNO |   .1726317   .0393112     4.39   0.000     .0955777    .2496857
    ptarecip |   .3444058   .0217321    15.85   0.000     .3018088    .3870029
 ptanonrecip |  -.0517946   .0312448    -1.66   0.097    -.1130375    .0094484
         gsp |  -.0980247   .0186651    -5.25   0.000    -.1346101   -.0614393
currencyun~n |   .4959544   .0860874     5.76   0.000     .3272143    .6646945
    colorbit |   .8078108   .0798247    10.12   0.000     .6513464    .9642752
         gdp |   .6612795   .0111791    59.15   0.000     .6393674    .6831916
  yeardummy1 |  (dropped)
  yeardummy2 |   .1911671   .0341296     5.60   0.000     .1242697    .2580645
  yeardummy3 |   -.019268   .0420212    -0.46   0.647    -.1016338    .0630979
  yeardummy4 |  -.0128357   .0439057    -0.29   0.770    -.0988954    .0732239
  yeardummy5 |  -.2478037   .0464084    -5.34   0.000    -.3387689   -.1568386
  yeardummy6 |  -.1137537   .0478384    -2.38   0.017    -.2075218   -.0199855
  yeardummy7 |  -.3500494   .0483359    -7.24   0.000    -.4447925   -.2553062
  yeardummy8 |   -.445465   .0481414    -9.25   0.000     -.539827   -.3511029
  yeardummy9 |  -.4009769   .0488117    -8.21   0.000    -.4966527   -.3053011
 yeardummy10 |   -.377334   .0496806    -7.60   0.000     -.474713   -.2799551
 yeardummy11 |  -.4029986   .0495008    -8.14   0.000    -.5000251   -.3059721
 yeardummy12 |  -.3875071   .0499753    -7.75   0.000    -.4854637   -.2895505
 yeardummy13 |  -.4231418   .0496926    -8.52   0.000    -.5205442   -.3257394
 yeardummy14 |  -.4224896   .0503204    -8.40   0.000    -.5211227   -.3238565
 yeardummy15 |  -.4371326   .0510496    -8.56   0.000    -.5371949   -.3370704
 yeardummy16 |  -.4476796   .0513231    -8.72   0.000    -.5482781   -.3470811
 yeardummy17 |  -.4858718   .0523097    -9.29   0.000    -.5884042   -.3833395
 yeardummy18 |   -.510394   .0533845    -9.56   0.000    -.6150329   -.4057551
 yeardummy19 |  -.5043614   .0541428    -9.32   0.000    -.6104867   -.3982361
 yeardummy20 |  -.5431327   .0547755    -9.92   0.000    -.6504983   -.4357672
 yeardummy21 |  -.5486852   .0554587    -9.89   0.000    -.6573899   -.4399804
 yeardummy22 |  -.5888409    .056302   -10.46   0.000    -.6991984   -.4784835
 yeardummy23 |  -.5086214   .0561412    -9.06   0.000    -.6186638    -.398579
 yeardummy24 |  -.5287601   .0565471    -9.35   0.000    -.6395982   -.4179221
 yeardummy25 |  -.5232934    .056963    -9.19   0.000    -.6349466   -.4116403
 yeardummy26 |  -.5689778   .0577367    -9.85   0.000    -.6821476    -.455808
 yeardummy27 |   -.596403    .059786    -9.98   0.000    -.7135896   -.4792163
 yeardummy28 |  -.6153292    .061974    -9.93   0.000    -.7368044   -.4938539
 yeardummy29 |  -.4940859   .0635487    -7.77   0.000    -.6186478   -.3695241
 yeardummy30 |  -.5542484   .0639843    -8.66   0.000     -.679664   -.4288328
 yeardummy31 |  -.5689918   .0643296    -8.84   0.000    -.6950843   -.4428994
 yeardummy32 |  -.5322968    .064888    -8.20   0.000    -.6594837   -.4051098
 yeardummy33 |  -.5757491   .0656577    -8.77   0.000    -.7044449   -.4470533
 yeardummy34 |  -.5336921    .066494    -8.03   0.000     -.664027   -.4033572
 yeardummy35 |  -.5020474     .06641    -7.56   0.000    -.6322177   -.3718771
 yeardummy36 |  -.4874732   .0654896    -7.44   0.000    -.6158394   -.3591069
 yeardummy37 |  -.5219932   .0648007    -8.06   0.000    -.6490091   -.3949773
 yeardummy38 |  -.5336437   .0644746    -8.28   0.000    -.6600203    -.407267
 yeardummy39 |  -.4811797   .0638302    -7.54   0.000    -.6062932   -.3560661
 yeardummy40 |  -.5041085   .0636859    -7.92   0.000    -.6289393   -.3792777
 yeardummy41 |   -.611845   .0651633    -9.39   0.000    -.7395716   -.4841184
 yeardummy42 |  -.6353983   .0662248    -9.59   0.000    -.7652055    -.505591
 yeardummy43 |  -.6160535   .0666327    -9.25   0.000    -.7466603   -.4854466
 yeardummy44 |  -.5947975   .0666235    -8.93   0.000    -.7253863   -.4642086
 yeardummy45 |  -.6169007   .0678684    -9.09   0.000    -.7499296   -.4838718
 yeardummy46 |  -.6763054     .06815    -9.92   0.000    -.8098863   -.5427245
 yeardummy47 |   -.701665   .0684047   -10.26   0.000    -.8357451   -.5675848
 yeardummy48 |  -.6696487   .0678809    -9.87   0.000    -.8027021   -.5365952
 yeardummy49 |   -.628865   .0683238    -9.20   0.000    -.7627865   -.4949435
 yeardummy50 |  -.6014699   .0695777    -8.64   0.000    -.7378491   -.4650906
 yeardummy51 |  -.6150771   .0702749    -8.75   0.000     -.752823   -.4773312
 yeardummy52 |  -.5897029   .0701348    -8.41   0.000    -.7271741   -.4522316
 yeardummy53 |  -.5678623   .0697147    -8.15   0.000    -.7045102   -.4312145
 yeardummy54 |  -.5946137   .0696731    -8.53   0.000    -.7311799   -.4580475
 yeardummy55 |  -.5463091   .0697133    -7.84   0.000    -.6829542    -.409664
 yeardummy56 |  -.5277121   .0699295    -7.55   0.000    -.6647809   -.3906432
 yeardummy57 |  -.5386234   .0704884    -7.64   0.000    -.6767878   -.4004591
 yeardummy58 |  -.5455097   .0721224    -7.56   0.000     -.686877   -.4041425
 yeardummy59 |  -.4824021   .0744103    -6.48   0.000    -.6282537   -.3365505
       _cons |  -14.89693   .4825163   -30.87   0.000    -15.84271   -13.95115
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17359 categories)

. estimates store t2_c1

. di "gattFF: " %3.0f 100 * (exp(_b[gattFF]) - 1) "%"  /* These are the effects
>  in table 3 */
gattFF:  41%

. di "gattFN: " %3.0f 100 * (exp(_b[gattFN]) - 1) "%"
gattFN:  46%

. di "gattFO: " %3.0f 100 * (exp(_b[gattFO]) - 1) "%"
gattFO:  22%

. di "gattNN: " %3.0f 100 * (exp(_b[gattNN]) - 1) "%"
gattNN:  56%

. di "gattNO: " %3.0f 100 * (exp(_b[gattNO]) - 1) "%"
gattNO:  19%

. test (gattFF=gattNN) (gattFF=gattFN) (gattFO=gattNO)  /* Robust F-test */

 ( 1)  gattFF - gattNN = 0
 ( 2)  gattFF - gattFN = 0
 ( 3)  gattFO - gattNO = 0

       F(  3, 17358) =    2.18
            Prob > F =    0.0880

. 
. di in white _n(2) "Participation: 2 categories, dyadic fixed effects, sample=
> `i'"


Participation: 2 categories, dyadic fixed effects, sample=

. areg imports gattPP gattPO ptarecip ptanonrecip gsp currencyunion colorbit gd
> p yeardummy*, absorb(directed_dyad_id) cluster(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 66, 17358) =  285.58
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8397
                                                       Adj R-squared =  0.8396
                                                       Root MSE      =  .93777

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattPP |   .3543618   .0327758    10.81   0.000     .2901179    .4186057
      gattPO |   .2002239   .0287829     6.96   0.000     .1438065    .2566414
    ptarecip |   .3434361   .0217298    15.80   0.000     .3008436    .3860286
 ptanonrecip |   -.053209   .0312588    -1.70   0.089    -.1144795    .0080614
         gsp |  -.0985553   .0186891    -5.27   0.000    -.1351878   -.0619227
currencyun~n |   .4920261   .0855283     5.75   0.000      .324382    .6596702
    colorbit |   .8360344   .0795038    10.52   0.000     .6801991    .9918698
         gdp |   .6610502   .0111872    59.09   0.000     .6391222    .6829781
  yeardummy1 |  (dropped)
  yeardummy2 |   .1903657   .0341214     5.58   0.000     .1234842    .2572471
  yeardummy3 |  -.0210381   .0419434    -0.50   0.616    -.1032513    .0611751
  yeardummy4 |  -.0142578   .0438572    -0.33   0.745    -.1002224    .0717068
  yeardummy5 |   -.251393   .0462817    -5.43   0.000    -.3421097   -.1606762
  yeardummy6 |  -.1173148   .0476909    -2.46   0.014    -.2107938   -.0238359
  yeardummy7 |  -.3533855   .0482123    -7.33   0.000    -.4478865   -.2588845
  yeardummy8 |  -.4483795   .0480689    -9.33   0.000    -.5425993   -.3541596
  yeardummy9 |  -.4040444   .0487551    -8.29   0.000    -.4996093   -.3084795
 yeardummy10 |  -.3803802   .0495731    -7.67   0.000    -.4775484    -.283212
 yeardummy11 |  -.4059763   .0494075    -8.22   0.000    -.5028199   -.3091327
 yeardummy12 |  -.3909263   .0498586    -7.84   0.000    -.4886541   -.2931984
 yeardummy13 |  -.4265427   .0495961    -8.60   0.000    -.5237561   -.3293294
 yeardummy14 |  -.4253011   .0502401    -8.47   0.000    -.5237767   -.3268255
 yeardummy15 |  -.4382212   .0510531    -8.58   0.000    -.5382904   -.3381521
 yeardummy16 |   -.448921   .0513131    -8.75   0.000    -.5494998   -.3483422
 yeardummy17 |  -.4862051   .0522846    -9.30   0.000    -.5886882   -.3837221
 yeardummy18 |  -.5135437   .0532815    -9.64   0.000    -.6179808   -.4091066
 yeardummy19 |  -.5082094   .0540151    -9.41   0.000    -.6140844   -.4023344
 yeardummy20 |   -.547051   .0546394   -10.01   0.000    -.6541496   -.4399523
 yeardummy21 |  -.5537052    .055179   -10.03   0.000    -.6618616   -.4455488
 yeardummy22 |  -.5945997    .055931   -10.63   0.000      -.70423   -.4849694
 yeardummy23 |  -.5142657   .0557917    -9.22   0.000    -.6236231   -.4049083
 yeardummy24 |  -.5341808   .0562154    -9.50   0.000    -.6443687    -.423993
 yeardummy25 |  -.5293826   .0565723    -9.36   0.000    -.6402701   -.4184951
 yeardummy26 |   -.575621   .0573202   -10.04   0.000    -.6879744   -.4632676
 yeardummy27 |  -.6028242   .0593482   -10.16   0.000    -.7191526   -.4864958
 yeardummy28 |  -.6219608   .0615331   -10.11   0.000    -.7425719   -.5013496
 yeardummy29 |  -.5006488   .0631266    -7.93   0.000    -.6243832   -.3769144
 yeardummy30 |  -.5605852   .0635751    -8.82   0.000    -.6851987   -.4359716
 yeardummy31 |  -.5749194   .0639767    -8.99   0.000    -.7003201   -.4495187
 yeardummy32 |  -.5382104   .0645338    -8.34   0.000    -.6647031   -.4117177
 yeardummy33 |  -.5816885   .0653121    -8.91   0.000    -.7097067   -.4536702
 yeardummy34 |  -.5400326   .0661073    -8.17   0.000    -.6696096   -.4104556
 yeardummy35 |  -.5083488   .0660278    -7.70   0.000    -.6377698   -.3789277
 yeardummy36 |  -.4941415    .065051    -7.60   0.000    -.6216481   -.3666349
 yeardummy37 |  -.5292309   .0643227    -8.23   0.000    -.6553099   -.4031519
 yeardummy38 |  -.5408417   .0639941    -8.45   0.000    -.6662765   -.4154069
 yeardummy39 |  -.4884318   .0633429    -7.71   0.000    -.6125903   -.3642733
 yeardummy40 |  -.5113713   .0631825    -8.09   0.000    -.6352153   -.3875273
 yeardummy41 |  -.6198576   .0646022    -9.59   0.000    -.7464843   -.4932308
 yeardummy42 |  -.6436228   .0656586    -9.80   0.000    -.7723202   -.5149254
 yeardummy43 |   -.624285   .0660853    -9.45   0.000    -.7538189    -.494751
 yeardummy44 |  -.6030255   .0660583    -9.13   0.000    -.7325064   -.4735447
 yeardummy45 |  -.6259604    .067266    -9.31   0.000    -.7578087   -.4941122
 yeardummy46 |  -.6856116    .067533   -10.15   0.000    -.8179831   -.5532401
 yeardummy47 |  -.7115508   .0677807   -10.50   0.000    -.8444078   -.5786939
 yeardummy48 |  -.6801985   .0672164   -10.12   0.000    -.8119495   -.5484475
 yeardummy49 |  -.6407936    .067558    -9.49   0.000    -.7732141    -.508373
 yeardummy50 |   -.613277   .0688382    -8.91   0.000    -.7482067   -.4783472
 yeardummy51 |  -.6271165   .0695337    -9.02   0.000    -.7634095   -.4908235
 yeardummy52 |  -.6023701   .0693168    -8.69   0.000    -.7382381   -.4665021
 yeardummy53 |  -.5806007   .0688892    -8.43   0.000    -.7156304    -.445571
 yeardummy54 |  -.6075192   .0688347    -8.83   0.000    -.7424421   -.4725963
 yeardummy55 |  -.5597448   .0688348    -8.13   0.000    -.6946679   -.4248217
 yeardummy56 |  -.5416259   .0690206    -7.85   0.000    -.6769133   -.4063385
 yeardummy57 |  -.5525476   .0695917    -7.94   0.000    -.6889543   -.4161409
 yeardummy58 |  -.5595298    .071246    -7.85   0.000    -.6991791   -.4198805
 yeardummy59 |  -.4947459   .0737527    -6.71   0.000    -.6393087   -.3501831
       _cons |   -14.8827   .4827121   -30.83   0.000    -15.82886   -13.93654
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17359 categories)

. estimates store t2_c2

. di "gattPP: " %3.0f 100 * (exp(_b[gattPP]) - 1) "%"
gattPP:  43%

. estimates table t2_c1 t2_c2, se b(%5.2f) keep(gattFF gattNN gattFN gattFO gat
> tNO gattPP gattPO ptarecip ptanonrecip gsp currencyunion colorbit gdp) stats(
> rmse r2 N N_clust) stfmt(%9.2f) title(Table2, p. 54) varwidth(15)

Table2, p. 54

-----------------------------------------
       Variable |   t2_c1       t2_c2    
----------------+------------------------
         gattFF |      0.34              
                |      0.03              
         gattNN |      0.45              
                |      0.07              
         gattFN |      0.38              
                |      0.04              
         gattFO |      0.20              
                |      0.03              
         gattNO |      0.17              
                |      0.04              
         gattPP |                  0.35  
                |                  0.03  
         gattPO |                  0.20  
                |                  0.03  
       ptarecip |      0.34        0.34  
                |      0.02        0.02  
    ptanonrecip |     -0.05       -0.05  
                |      0.03        0.03  
            gsp |     -0.10       -0.10  
                |      0.02        0.02  
  currencyunion |      0.50        0.49  
                |      0.09        0.09  
       colorbit |      0.81        0.84  
                |      0.08        0.08  
            gdp |      0.66        0.66  
                |      0.01        0.01  
----------------+------------------------
           rmse |      0.94        0.94  
             r2 |      0.84        0.84  
              N | 381656.00   381656.00  
        N_clust |  17359.00    17359.00  
-----------------------------------------
                             legend: b/se

. 
. **************************************************
. * TABLE 4: EFFECTS BY GATT/WTO NEGOTIATING ROUND *
. **************************************************
. 
. di in white _n(2) "By round: 2 categories, dyadic fixed effects"


By round: 2 categories, dyadic fixed effects

. areg imports gattPP_round1 gattPP_round2 gattPP_round3 gattPP_round4 gattPP_r
> ound5 gattPP_round6 gattPP_round7 gattPP_round8 gattPO_round1 gattPO_round2 g
> attPO_round3 gattPO_round4 gattPO_round5 gattPO_round6 gattPO_round7 gattPO_r
> ound8  ptarecip ptanonrecip gsp currencyunion colorbit gdp yeardummy* , absor
> b(directed_dyad_id) cluster(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 80, 17358) =  238.75
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8400
                                                       Adj R-squared =  0.8400
                                                       Root MSE      =  .93675

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
gattPP_rou~1 |   .8590629   .0782217    10.98   0.000     .7057404    1.012385
gattPP_rou~2 |   .5788306   .0594656     9.73   0.000     .4622721    .6953892
gattPP_rou~3 |   .6568482   .0598894    10.97   0.000      .539459    .7742375
gattPP_rou~4 |    .475205   .0524352     9.06   0.000     .3724267    .5779833
gattPP_rou~5 |   .3302648     .04873     6.78   0.000     .2347492    .4257805
gattPP_rou~6 |   .2316518   .0508845     4.55   0.000     .1319132    .3313905
gattPP_rou~7 |   .2136214   .0563297     3.79   0.000     .1032095    .3240334
gattPP_rou~8 |   .0977482   .0586675     1.67   0.096     -.017246    .2127424
gattPO_rou~1 |   .1534473   .0628547     2.44   0.015     .0302458    .2766487
gattPO_rou~2 |   .1694953   .0511315     3.31   0.001     .0692725    .2697181
gattPO_rou~3 |   .2237613   .0567138     3.95   0.000     .1125967     .334926
gattPO_rou~4 |   .1861542   .0485903     3.83   0.000     .0909123    .2813962
gattPO_rou~5 |   .1544569   .0466476     3.31   0.001      .063023    .2458908
gattPO_rou~6 |    .130138   .0494936     2.63   0.009     .0331254    .2271505
gattPO_rou~7 |   .1182077   .0544817     2.17   0.030     .0114181    .2249973
gattPO_rou~8 |   .0212199   .0539062     0.39   0.694    -.0844415    .1268814
    ptarecip |   .3459077   .0218102    15.86   0.000     .3031575    .3886579
 ptanonrecip |  -.0475841   .0313179    -1.52   0.129    -.1089704    .0138021
         gsp |  -.0941306    .018668    -5.04   0.000    -.1307218   -.0575394
currencyun~n |   .4775542   .0843017     5.66   0.000     .3123144    .6427939
    colorbit |   .7666568   .0796652     9.62   0.000     .6105051    .9228085
         gdp |   .6606745   .0112116    58.93   0.000     .6386987    .6826503
  yeardummy1 |  (dropped)
  yeardummy2 |    .190417   .0341536     5.58   0.000     .1234726    .2573614
  yeardummy3 |  -.0851201   .0543496    -1.57   0.117    -.1916509    .0214107
  yeardummy4 |  -.0442465   .0519497    -0.85   0.394    -.1460731    .0575801
  yeardummy5 |   -.304293   .0570222    -5.34   0.000    -.4160622   -.1925237
  yeardummy6 |  -.2409394   .0633295    -3.80   0.000    -.3650716   -.1168073
  yeardummy7 |  -.4656095   .0631911    -7.37   0.000    -.5894704   -.3417487
  yeardummy8 |   -.567986   .0636682    -8.92   0.000    -.6927821   -.4431898
  yeardummy9 |  -.5193171   .0641087    -8.10   0.000    -.6449767   -.3936575
 yeardummy10 |  -.4952415   .0646994    -7.65   0.000    -.6220588   -.3684242
 yeardummy11 |  -.4345781   .0590488    -7.36   0.000    -.5503196   -.3188365
 yeardummy12 |  -.4184584   .0594965    -7.03   0.000    -.5350775   -.3018392
 yeardummy13 |  -.4544938   .0593257    -7.66   0.000    -.5707782   -.3382095
 yeardummy14 |  -.4543812   .0599437    -7.58   0.000    -.5718769   -.3368855
 yeardummy15 |   -.472473   .0611723    -7.72   0.000    -.5923768   -.3525692
 yeardummy16 |   -.411829   .0597948    -6.89   0.000    -.5290329    -.294625
 yeardummy17 |  -.4493518   .0611931    -7.34   0.000    -.5692964   -.3294072
 yeardummy18 |  -.4764639   .0624774    -7.63   0.000    -.5989259    -.354002
 yeardummy19 |  -.4709489   .0631419    -7.46   0.000    -.5947132   -.3471845
 yeardummy20 |  -.5098694   .0637423    -8.00   0.000    -.6348107    -.384928
 yeardummy21 |  -.5168899    .064235    -8.05   0.000    -.6427969   -.3909829
 yeardummy22 |   -.494719   .0665049    -7.44   0.000    -.6250753   -.3643628
 yeardummy23 |  -.4141874   .0665205    -6.23   0.000    -.5445742   -.2838006
 yeardummy24 |  -.4344314   .0668077    -6.50   0.000    -.5653812   -.3034817
 yeardummy25 |  -.4292823   .0671296    -6.39   0.000     -.560863   -.2977015
 yeardummy26 |  -.4744631   .0677889    -7.00   0.000    -.6073362   -.3415901
 yeardummy27 |  -.5036623   .0695556    -7.24   0.000    -.6399983   -.3673264
 yeardummy28 |  -.5210545   .0716372    -7.27   0.000    -.6614706   -.3806384
 yeardummy29 |  -.3997338   .0730288    -5.47   0.000    -.5428775     -.25659
 yeardummy30 |  -.4593777   .0734277    -6.26   0.000    -.6033034    -.315452
 yeardummy31 |  -.4735786   .0737242    -6.42   0.000    -.6180855   -.3290717
 yeardummy32 |  -.4367487   .0742914    -5.88   0.000    -.5823673     -.29113
 yeardummy33 |  -.4802426   .0748687    -6.41   0.000    -.6269929   -.3334924
 yeardummy34 |  -.4235681   .0788201    -5.37   0.000    -.5780635   -.2690727
 yeardummy35 |  -.3914359   .0789135    -4.96   0.000    -.5461142   -.2367576
 yeardummy36 |  -.3775388    .078205    -4.83   0.000    -.5308285   -.2242492
 yeardummy37 |  -.4108521   .0776484    -5.29   0.000    -.5630508   -.2586534
 yeardummy38 |  -.4226937   .0773785    -5.46   0.000    -.5743634    -.271024
 yeardummy39 |  -.3703123    .076842    -4.82   0.000    -.5209303   -.2196943
 yeardummy40 |  -.3932937   .0768168    -5.12   0.000    -.5438624   -.2427251
 yeardummy41 |  -.5008662   .0778677    -6.43   0.000    -.6534947   -.3482378
 yeardummy42 |  -.5232724   .0787602    -6.64   0.000    -.6776504   -.3688944
 yeardummy43 |  -.5038346   .0791554    -6.37   0.000    -.6589871   -.3486822
 yeardummy44 |   -.482574    .079133    -6.10   0.000    -.6376827   -.3274654
 yeardummy45 |  -.5023657   .0802253    -6.26   0.000    -.6596154    -.345116
 yeardummy46 |  -.5608139   .0803887    -6.98   0.000    -.7183839   -.4032439
 yeardummy47 |  -.5857083   .0802706    -7.30   0.000    -.7430469   -.4283698
 yeardummy48 |   -.553146   .0795952    -6.95   0.000    -.7091605   -.3971314
 yeardummy49 |  -.4072778   .0803744    -5.07   0.000    -.5648197    -.249736
 yeardummy50 |  -.3801417   .0813351    -4.67   0.000    -.5395666   -.2207168
 yeardummy51 |  -.3906959   .0822341    -4.75   0.000     -.551883   -.2295088
 yeardummy52 |  -.3675841   .0818759    -4.49   0.000     -.528069   -.2070992
 yeardummy53 |   -.344843   .0816246    -4.22   0.000    -.5048354   -.1848506
 yeardummy54 |  -.3697634   .0817032    -4.53   0.000    -.5299098   -.2096169
 yeardummy55 |  -.3169439   .0821597    -3.86   0.000    -.4779852   -.1559025
 yeardummy56 |   -.294211     .08266    -3.56   0.000     -.456233    -.132189
 yeardummy57 |  -.3048092   .0831129    -3.67   0.000    -.4677188   -.1418995
 yeardummy58 |  -.3103434    .084474    -3.67   0.000    -.4759209   -.1447658
 yeardummy59 |  -.2431894   .0861787    -2.82   0.005    -.4121085   -.0742704
       _cons |  -14.87558   .4839969   -30.73   0.000    -15.82426    -13.9269
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17359 categories)

. estimates store t4

. di "gattPP_round1: " %3.0f 100 * (exp(_b[gattPP_round1]) - 1) "%"
gattPP_round1: 136%

. di "gattPP_round2: " %3.0f 100 * (exp(_b[gattPP_round2]) - 1) "%"
gattPP_round2:  78%

. di "gattPP_round3: " %3.0f 100 * (exp(_b[gattPP_round3]) - 1) "%"
gattPP_round3:  93%

. di "gattPP_round4: " %3.0f 100 * (exp(_b[gattPP_round4]) - 1) "%"
gattPP_round4:  61%

. di "gattPP_round5: " %3.0f 100 * (exp(_b[gattPP_round5]) - 1) "%"
gattPP_round5:  39%

. di "gattPP_round6: " %3.0f 100 * (exp(_b[gattPP_round6]) - 1) "%"
gattPP_round6:  26%

. di "gattPP_round7: " %3.0f 100 * (exp(_b[gattPP_round7]) - 1) "%"
gattPP_round7:  24%

. di "gattPP_round8: " %3.0f 100 * (exp(_b[gattPP_round8]) - 1) "%"
gattPP_round8:  10%

. estimates table t4, se b(%5.2f) keep(gattPP_round1 gattPP_round2 gattPP_round
> 3 gattPP_round4 gattPP_round5 gattPP_round6 gattPP_round7 gattPP_round8 gattP
> O_round1 gattPO_round2 gattPO_round3 gattPO_round4 gattPO_round5 gattPO_round
> 6 gattPO_round7 gattPO_round8) stats(rmse r2 N N_clust) stfmt(%9.2f) title(Ta
> ble4, p. 57) varwidth(15)

Table4, p. 57

-----------------------------
       Variable |    t4      
----------------+------------
  gattPP_round1 |      0.86  
                |      0.08  
  gattPP_round2 |      0.58  
                |      0.06  
  gattPP_round3 |      0.66  
                |      0.06  
  gattPP_round4 |      0.48  
                |      0.05  
  gattPP_round5 |      0.33  
                |      0.05  
  gattPP_round6 |      0.23  
                |      0.05  
  gattPP_round7 |      0.21  
                |      0.06  
  gattPP_round8 |      0.10  
                |      0.06  
  gattPO_round1 |      0.15  
                |      0.06  
  gattPO_round2 |      0.17  
                |      0.05  
  gattPO_round3 |      0.22  
                |      0.06  
  gattPO_round4 |      0.19  
                |      0.05  
  gattPO_round5 |      0.15  
                |      0.05  
  gattPO_round6 |      0.13  
                |      0.05  
  gattPO_round7 |      0.12  
                |      0.05  
  gattPO_round8 |      0.02  
                |      0.05  
----------------+------------
           rmse |      0.94  
             r2 |      0.84  
              N | 381656.00  
        N_clust |  17359.00  
-----------------------------
                 legend: b/se

. 
. ************************************
. * TABLE 5: EFFECTS BY INCOME GROUP *
. ************************************
. 
. di in white _n(2) "Participation 2 Categories if both industrial"


Participation 2 Categories if both industrial

. areg imports gattPP gattPO ptarecip ptanonrecip gsp currencyunion colorbit gd
> p yeardummy* if industrial_both==1, absorb(directed_dyad_id) cluster(directed
> _dyad_id) robust

Linear regression, absorbing indicators                Number of obs =   28971
                                                       F( 65,   593) =  153.72
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.9290
                                                       Adj R-squared =  0.9288
                                                       Root MSE      =  .60963

                     (Std. Err. adjusted for 594 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattPP |   .5375267   .1069292     5.03   0.000     .3275207    .7475326
      gattPO |   .2470679   .0994124     2.49   0.013     .0518248    .4423111
    ptarecip |   .2907495    .052282     5.56   0.000      .188069    .3934299
 ptanonrecip |  -.0453476   .1020925    -0.44   0.657    -.2458546    .1551593
         gsp |   .0372665   .0563672     0.66   0.509    -.0734372    .1479702
currencyun~n |   .4228172   .0964922     4.38   0.000     .2333091    .6123252
    colorbit |  (dropped)
         gdp |   .8632262   .0494024    17.47   0.000     .7662013    .9602512
  yeardummy1 |  (dropped)
  yeardummy2 |   .2881085   .0602761     4.78   0.000     .1697278    .4064891
  yeardummy3 |    .032316   .0958006     0.34   0.736    -.1558338    .2204658
  yeardummy4 |   .1359898    .097302     1.40   0.163    -.0551086    .3270883
  yeardummy5 |   -.117125   .1107792    -1.06   0.291    -.3346922    .1004422
  yeardummy6 |  -.0196043   .1208279    -0.16   0.871    -.2569071    .2176984
  yeardummy7 |   -.115746   .1246669    -0.93   0.354    -.3605885    .1290964
  yeardummy8 |  -.2557597   .1293713    -1.98   0.049    -.5098413    -.001678
  yeardummy9 |  -.2827669   .1272013    -2.22   0.027    -.5325868    -.032947
 yeardummy10 |  -.3245387   .1317082    -2.46   0.014      -.58321   -.0658675
 yeardummy11 |  -.3942586   .1328357    -2.97   0.003    -.6551443   -.1333729
 yeardummy12 |  -.4115058   .1338361    -3.07   0.002    -.6743562   -.1486554
 yeardummy13 |  -.4828493   .1360816    -3.55   0.000    -.7501098   -.2155889
 yeardummy14 |  -.4781545   .1366424    -3.50   0.001    -.7465165   -.2097926
 yeardummy15 |  -.4504991   .1403494    -3.21   0.001    -.7261415   -.1748566
 yeardummy16 |  -.4310573   .1433474    -3.01   0.003    -.7125877    -.149527
 yeardummy17 |  -.5022681   .1489602    -3.37   0.001    -.7948218   -.2097143
 yeardummy18 |  -.5821884   .1544897    -3.77   0.000     -.885602   -.2787748
 yeardummy19 |  -.6315651   .1585349    -3.98   0.000    -.9429232    -.320207
 yeardummy20 |  -.6772699   .1633381    -4.15   0.000    -.9980615   -.3564783
 yeardummy21 |   -.719124   .1675338    -4.29   0.000    -1.048156   -.3900923
 yeardummy22 |  -.7852819   .1730456    -4.54   0.000    -1.125139   -.4454251
 yeardummy23 |  -.7882293   .1740365    -4.53   0.000    -1.130032   -.4464265
 yeardummy24 |  -.7623057   .1764099    -4.32   0.000     -1.10877   -.4158416
 yeardummy25 |  -.7142951    .179402    -3.98   0.000    -1.066636   -.3619546
 yeardummy26 |  -.7950392   .1849586    -4.30   0.000    -1.158293   -.4317856
 yeardummy27 |  -.8862149   .1961311    -4.52   0.000    -1.271411   -.5010189
 yeardummy28 |   -.967975   .2119489    -4.57   0.000    -1.384237   -.5517132
 yeardummy29 |  -.8825694   .2162843    -4.08   0.000    -1.307346   -.4577929
 yeardummy30 |  -1.064162   .2187223    -4.87   0.000    -1.493726   -.6345969
 yeardummy31 |  -1.048473   .2188801    -4.79   0.000    -1.478347   -.6185982
 yeardummy32 |  -1.072904   .2230762    -4.81   0.000     -1.51102   -.6347886
 yeardummy33 |  -1.213343   .2321367    -5.23   0.000    -1.669253   -.7574327
 yeardummy34 |  -1.167807   .2373689    -4.92   0.000    -1.633993   -.7016212
 yeardummy35 |  -1.135228   .2363237    -4.80   0.000    -1.599361   -.6710952
 yeardummy36 |  -1.046206   .2263197    -4.62   0.000    -1.490691     -.60172
 yeardummy37 |  -.9748108   .2193842    -4.44   0.000    -1.405675   -.5439462
 yeardummy38 |  -.9159781   .2168305    -4.22   0.000    -1.341827   -.4901291
 yeardummy39 |  -.7655419   .2131594    -3.59   0.000    -1.184181   -.3469027
 yeardummy40 |  -.7173095   .2126297    -3.37   0.001    -1.134908   -.2997106
 yeardummy41 |  -.9759973    .231787    -4.21   0.000    -1.431221    -.520774
 yeardummy42 |    -1.0716    .244994    -4.37   0.000    -1.552761   -.5904382
 yeardummy43 |  -1.112142   .2529832    -4.40   0.000    -1.608994   -.6152899
 yeardummy44 |  -1.076162   .2530379    -4.25   0.000    -1.573121    -.579202
 yeardummy45 |  -1.176925   .2622012    -4.49   0.000    -1.691881   -.6619695
 yeardummy46 |  -1.241691   .2608518    -4.76   0.000    -1.753997   -.7293855
 yeardummy47 |  -1.255304    .262408    -4.78   0.000    -1.770667   -.7399423
 yeardummy48 |   -1.24362   .2566786    -4.85   0.000     -1.74773   -.7395102
 yeardummy49 |  -1.170903   .2599567    -4.50   0.000    -1.681451   -.6603553
 yeardummy50 |  -1.209629   .2706466    -4.47   0.000    -1.741171   -.6780861
 yeardummy51 |  -1.195017   .2708221    -4.41   0.000    -1.726905   -.6631301
 yeardummy52 |  -1.105651   .2658051    -4.16   0.000    -1.627685   -.5836168
 yeardummy53 |  -1.062098   .2632197    -4.04   0.000    -1.579054   -.5451421
 yeardummy54 |  -1.086785    .263939    -4.12   0.000    -1.605154   -.5684161
 yeardummy55 |  -.9658859   .2592596    -3.73   0.000    -1.475065   -.4567072
 yeardummy56 |  -.9450514   .2560016    -3.69   0.000    -1.447831   -.4422713
 yeardummy57 |  -1.118175    .264885    -4.22   0.000    -1.638402   -.5979483
 yeardummy58 |  -1.261861   .2802885    -4.50   0.000     -1.81234   -.7113825
 yeardummy59 |   -1.21092   .2842283    -4.26   0.000    -1.769136   -.6527029
       _cons |   -23.6944   2.261125   -10.48   0.000    -28.13519   -19.25361
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                     (594 categories)

. estimates store t5_c1

. quietly tab year if industrial_both==1

. di "Estimates based on " `r(r)' " years"
Estimates based on 59 years

. 
. di in white _n(2) "Participation 2 Categories if only 1 is industrial"


Participation 2 Categories if only 1 is industrial

. areg imports gattPP gattPO ptarecip ptanonrecip gsp currencyunion colorbit gd
> p yeardummy* if industrial_both==0 & industrial_none==0, absorb(directed_dyad
> _id) cluster(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  194963
                                                       F( 66,  6444) =  164.22
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8329
                                                       Adj R-squared =  0.8329
                                                       Root MSE      =  .90476

                    (Std. Err. adjusted for 6445 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattPP |   .3719859   .0570131     6.52   0.000     .2602214    .4837505
      gattPO |   .2675333   .0519027     5.15   0.000     .1657868    .3692798
    ptarecip |   .3233944   .0335634     9.64   0.000     .2575989    .3891899
 ptanonrecip |  -.0049919   .0338788    -0.15   0.883    -.0714056    .0614218
         gsp |  -.1226179   .0231847    -5.29   0.000    -.1680676   -.0771682
currencyun~n |   .7570166   .1812674     4.18   0.000     .4016722    1.112361
    colorbit |   .6777976   .1671312     4.06   0.000      .350165     1.00543
         gdp |    .745922   .0172573    43.22   0.000      .712092     .779752
  yeardummy1 |   .9448287     .11326     8.34   0.000     .7228015    1.166856
  yeardummy2 |   1.173638   .1079863    10.87   0.000     .9619489    1.385327
  yeardummy3 |   .8896762   .0938142     9.48   0.000     .7057692    1.073583
  yeardummy4 |    .886425   .0922016     9.61   0.000     .7056793    1.067171
  yeardummy5 |    .602856   .0859718     7.01   0.000     .4343228    .7713893
  yeardummy6 |   .7373405   .0832278     8.86   0.000     .5741862    .9004947
  yeardummy7 |   .4791191    .081338     5.89   0.000     .3196696    .6385687
  yeardummy8 |   .3855087   .0802444     4.80   0.000      .228203    .5428145
  yeardummy9 |    .453244   .0777027     5.83   0.000      .300921    .6055671
 yeardummy10 |   .4680591   .0754521     6.20   0.000     .3201479    .6159703
 yeardummy11 |   .4471413    .073548     6.08   0.000     .3029628    .5913198
 yeardummy12 |   .4386046   .0727207     6.03   0.000      .296048    .5811613
 yeardummy13 |   .3912929   .0725794     5.39   0.000     .2490132    .5335726
 yeardummy14 |   .3887238   .0710125     5.47   0.000     .2495157    .5279319
 yeardummy15 |   .3583622   .0681865     5.26   0.000      .224694    .4920305
 yeardummy16 |   .3251847   .0662069     4.91   0.000     .1953971    .4549722
 yeardummy17 |   .2656193   .0642786     4.13   0.000     .1396119    .3916267
 yeardummy18 |   .2382516   .0621496     3.83   0.000     .1164177    .3600854
 yeardummy19 |   .2239566   .0593583     3.77   0.000     .1075946    .3403185
 yeardummy20 |   .1835872   .0571585     3.21   0.001     .0715376    .2956368
 yeardummy21 |   .1450665   .0562426     2.58   0.010     .0348122    .2553207
 yeardummy22 |   .1039271   .0548942     1.89   0.058    -.0036837    .2115378
 yeardummy23 |   .1632942   .0540651     3.02   0.003     .0573087    .2692798
 yeardummy24 |   .1447132   .0532319     2.72   0.007     .0403609    .2490654
 yeardummy25 |   .1500689   .0516368     2.91   0.004     .0488437    .2512941
 yeardummy26 |   .0895938   .0504168     1.78   0.076    -.0092399    .1884274
 yeardummy27 |   .0821758   .0446907     1.84   0.066    -.0054328    .1697843
 yeardummy28 |    .040229   .0410218     0.98   0.327    -.0401873    .1206452
 yeardummy29 |   .1836336   .0396581     4.63   0.000     .1058906    .2613767
 yeardummy30 |   .1189468   .0390216     3.05   0.002     .0424514    .1954422
 yeardummy31 |   .1294773   .0374064     3.46   0.001     .0561483    .2028062
 yeardummy32 |   .1631897   .0361473     4.51   0.000     .0923291    .2340503
 yeardummy33 |   .0817289   .0347724     2.35   0.019     .0135635    .1498943
 yeardummy34 |   .1227139   .0342023     3.59   0.000     .0556661    .1897617
 yeardummy35 |   .1429652   .0340811     4.19   0.000     .0761549    .2097756
 yeardummy36 |   .1640374   .0353059     4.65   0.000     .0948261    .2332487
 yeardummy37 |   .1384108   .0358936     3.86   0.000     .0680474    .2087742
 yeardummy38 |   .1355608   .0364097     3.72   0.000     .0641857    .2069359
 yeardummy39 |   .2162857   .0369558     5.85   0.000       .14384    .2887313
 yeardummy40 |   .1829289   .0371463     4.92   0.000     .1101098     .255748
 yeardummy41 |   .0155237   .0343888     0.45   0.652    -.0518897    .0829371
 yeardummy42 |  -.0397891   .0325865    -1.22   0.222    -.1036694    .0240912
 yeardummy43 |  -.0731629   .0321688    -2.27   0.023    -.1362245   -.0101014
 yeardummy44 |  -.0462703   .0315382    -1.47   0.142    -.1080956     .015555
 yeardummy45 |  -.0763957   .0300897    -2.54   0.011    -.1353815   -.0174098
 yeardummy46 |  -.1248918   .0293316    -4.26   0.000    -.1823914   -.0673922
 yeardummy47 |  -.2134707   .0295226    -7.23   0.000    -.2713448   -.1555966
 yeardummy48 |  -.1598511   .0288359    -5.54   0.000    -.2163791   -.1033231
 yeardummy49 |  -.1002123   .0280765    -3.57   0.000    -.1552516    -.045173
 yeardummy50 |  -.1100592   .0263969    -4.17   0.000    -.1618058   -.0583125
 yeardummy51 |  -.0863324   .0260033    -3.32   0.001    -.1373074   -.0353573
 yeardummy52 |  -.0421865   .0255993    -1.65   0.099    -.0923695    .0079966
 yeardummy53 |  -.0164615   .0255268    -0.64   0.519    -.0665024    .0335794
 yeardummy54 |  -.0751534    .025295    -2.97   0.003      -.12474   -.0255668
 yeardummy55 |   .0027423   .0258128     0.11   0.915    -.0478595     .053344
 yeardummy56 |   .0245568   .0257023     0.96   0.339    -.0258282    .0749418
 yeardummy57 |  -.0055259   .0249946    -0.22   0.825    -.0545235    .0434718
 yeardummy58 |  -.0691402   .0238504    -2.90   0.004    -.1158949   -.0223855
 yeardummy59 |  (dropped)
       _cons |  -19.60997   .8285951   -23.67   0.000    -21.23429   -17.98565
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                    (6445 categories)

. estimates store t5_c2

. quietly tab year if industrial_both==0 & industrial_none==0

. di "Estimates based on " `r(r)' " years"
Estimates based on 59 years

. 
. di in white _n(2) "Participation 2 Categories if none is industrial"


Participation 2 Categories if none is industrial

. areg imports gattPP gattPO ptarecip ptanonrecip gsp currencyunion colorbit gd
> p yeardummy* if industrial_none==1, absorb(directed_dyad_id) cluster(directed
> _dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  157722
                                                       F( 65, 10319) =   79.61
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.7382
                                                       Adj R-squared =  0.7381
                                                       Root MSE      =  1.0202

                   (Std. Err. adjusted for 10320 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattPP |   .2831582   .0445041     6.36   0.000     .1959216    .3703948
      gattPO |   .1278602   .0365647     3.50   0.000     .0561863    .1995342
    ptarecip |   .2902324   .0323738     8.97   0.000     .2267734    .3536914
 ptanonrecip |  (dropped)
         gsp |  -.0350609   .0449673    -0.78   0.436    -.1232055    .0530837
currencyun~n |   .3306792   .1806319     1.83   0.067    -.0233943    .6847527
    colorbit |   .7852493   .0962722     8.16   0.000     .5965371    .9739615
         gdp |   .5639395   .0156677    35.99   0.000     .5332278    .5946512
  yeardummy1 |   .3300169   .1201137     2.75   0.006     .0945708     .565463
  yeardummy2 |   .2158893   .1142879     1.89   0.059    -.0081372    .4399157
  yeardummy3 |   .0850355    .102489     0.83   0.407    -.1158628    .2859338
  yeardummy4 |   .0378045   .1036524     0.36   0.715    -.1653744    .2409833
  yeardummy5 |  -.1786723   .0915894    -1.95   0.051    -.3582051    .0008606
  yeardummy6 |  -.0908922   .0903969    -1.01   0.315    -.2680876    .0863032
  yeardummy7 |  -.3833419   .0866968    -4.42   0.000    -.5532844   -.2133994
  yeardummy8 |  -.4750245    .085429    -5.56   0.000     -.642482    -.307567
  yeardummy9 |  -.4644647   .0841681    -5.52   0.000    -.6294505   -.2994788
 yeardummy10 |  -.4152051   .0806172    -5.15   0.000    -.5732304   -.2571798
 yeardummy11 |  -.4510771   .0778976    -5.79   0.000    -.6037716   -.2983827
 yeardummy12 |  -.3984412   .0780267    -5.11   0.000    -.5513886   -.2454938
 yeardummy13 |  -.4039679   .0773367    -5.22   0.000    -.5555627    -.252373
 yeardummy14 |  -.4112829   .0765164    -5.38   0.000    -.5612699   -.2612958
 yeardummy15 |  -.4203945   .0740893    -5.67   0.000     -.565624   -.2751651
 yeardummy16 |  -.4176683   .0729496    -5.73   0.000    -.5606637    -.274673
 yeardummy17 |  -.4237249   .0717303    -5.91   0.000    -.5643301   -.2831196
 yeardummy18 |  -.4571308   .0700776    -6.52   0.000    -.5944965   -.3197651
 yeardummy19 |  -.4222345   .0677161    -6.24   0.000    -.5549712   -.2894978
 yeardummy20 |  -.4730434   .0663847    -7.13   0.000    -.6031703   -.3429165
 yeardummy21 |  -.4387783   .0657192    -6.68   0.000    -.5676006    -.309956
 yeardummy22 |  -.4789154   .0647658    -7.39   0.000    -.6058689   -.3519618
 yeardummy23 |    -.34862   .0651357    -5.35   0.000    -.4762985   -.2209415
 yeardummy24 |  -.3909303    .063816    -6.13   0.000     -.516022   -.2658386
 yeardummy25 |  -.4066231   .0630302    -6.45   0.000    -.5301745   -.2830718
 yeardummy26 |  -.4358944   .0615533    -7.08   0.000    -.5565508   -.3152381
 yeardummy27 |  -.4892125   .0596918    -8.20   0.000    -.6062199   -.3722051
 yeardummy28 |  -.4820637   .0566661    -8.51   0.000    -.5931402   -.3709871
 yeardummy29 |  -.3762549   .0560131    -6.72   0.000    -.4860514   -.2664585
 yeardummy30 |  -.4145197   .0557435    -7.44   0.000    -.5237878   -.3052517
 yeardummy31 |  -.4752224   .0546254    -8.70   0.000    -.5822989    -.368146
 yeardummy32 |  -.4284614   .0543197    -7.89   0.000    -.5349386   -.3219843
 yeardummy33 |  -.4253328    .053551    -7.94   0.000    -.5303032   -.3203625
 yeardummy34 |   -.387176   .0533287    -7.26   0.000    -.4917106   -.2826413
 yeardummy35 |  -.3346936   .0535956    -6.24   0.000    -.4397514   -.2296359
 yeardummy36 |  -.3190086   .0535033    -5.96   0.000    -.4238854   -.2141317
 yeardummy37 |  -.3719521   .0529913    -7.02   0.000    -.4758253   -.2680789
 yeardummy38 |  -.3996493   .0533526    -7.49   0.000    -.5042307   -.2950678
 yeardummy39 |  -.3939419    .053409    -7.38   0.000     -.498634   -.2892498
 yeardummy40 |  -.4130153   .0536562    -7.70   0.000    -.5181918   -.3078388
 yeardummy41 |  -.4593132   .0528103    -8.70   0.000    -.5628317   -.3557948
 yeardummy42 |  -.4532562    .052199    -8.68   0.000    -.5555765   -.3509359
 yeardummy43 |  -.3691272   .0516885    -7.14   0.000    -.4704467   -.2678078
 yeardummy44 |  -.3530415   .0509675    -6.93   0.000    -.4529476   -.2531354
 yeardummy45 |  -.3631556   .0497678    -7.30   0.000    -.4607102    -.265601
 yeardummy46 |  -.4282027   .0494439    -8.66   0.000    -.5251223   -.3312832
 yeardummy47 |  -.3766149   .0480227    -7.84   0.000    -.4707487   -.2824811
 yeardummy48 |  -.3625502   .0474463    -7.64   0.000    -.4555541   -.2695463
 yeardummy49 |  -.3474492   .0466357    -7.45   0.000    -.4388641   -.2560343
 yeardummy50 |  -.2846728   .0455396    -6.25   0.000    -.3739392   -.1954065
 yeardummy51 |  -.3293625   .0449004    -7.34   0.000    -.4173759    -.241349
 yeardummy52 |  -.3221163    .044418    -7.25   0.000    -.4091842   -.2350484
 yeardummy53 |  -.3091581   .0441174    -7.01   0.000    -.3956368   -.2226794
 yeardummy54 |  -.3054968   .0441368    -6.92   0.000    -.3920135   -.2189801
 yeardummy55 |  -.2787791   .0437196    -6.38   0.000    -.3644779   -.1930802
 yeardummy56 |  -.2569389   .0438137    -5.86   0.000    -.3428222   -.1710556
 yeardummy57 |  -.2359902   .0434664    -5.43   0.000    -.3211926   -.1507877
 yeardummy58 |  -.1890345   .0428394    -4.41   0.000    -.2730081   -.1050609
 yeardummy59 |  (dropped)
       _cons |  -10.70147   .7180521   -14.90   0.000    -12.10899   -9.293948
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (10320 categories)

. estimates store t5_c3

. quietly tab year if industrial_none==1

. di "Estimates based on " `r(r)' " years"
Estimates based on 59 years

. 
. estimates table t5_c1 t5_c2 t5_c3, se b(%5.2f) keep(gattPP gattPO ptarecip) s
> tats(rmse r2 N N_clust) stfmt(%9.2f) title(Table5, p. 58) varwidth(15)

Table5, p. 58

-----------------------------------------------------
       Variable |   t5_c1       t5_c2       t5_c3    
----------------+------------------------------------
         gattPP |      0.54        0.37        0.28  
                |      0.11        0.06        0.04  
         gattPO |      0.25        0.27        0.13  
                |      0.10        0.05        0.04  
       ptarecip |      0.29        0.32        0.29  
                |      0.05        0.03        0.03  
----------------+------------------------------------
           rmse |      0.61        0.90        1.02  
             r2 |      0.93        0.83        0.74  
              N |  28971.00   194963.00   157722.00  
        N_clust |    594.00     6445.00    10320.00  
-----------------------------------------------------
                                         legend: b/se

. 
. ****************
. * ARTICLE XXXV *
. ****************
. 
. di in white _n(2) "Participation: 2 categories with article 35, dyadic fixed 
> effects, sample=`i'"


Participation: 2 categories with article 35, dyadic fixed effects, sample=

. areg imports gattPP gattPO gatt35x1 gatt35x2 ptarecip ptanonrecip gsp currenc
> yunion colorbit gdp yeardummy*, absorb(directed_dyad_id) cluster(directed_dya
> d_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 68, 17358) =  277.44
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8398
                                                       Adj R-squared =  0.8397
                                                       Root MSE      =   .9375

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattPP |   .3492487   .0327682    10.66   0.000     .2850197    .4134778
      gattPO |   .1983187   .0287824     6.89   0.000     .1419023    .2547351
    gatt35x1 |   .2610864   .0882024     2.96   0.003     .0882009    .4339719
    gatt35x2 |  -1.384621    .324165    -4.27   0.000    -2.020017   -.7492248
    ptarecip |   .3420801   .0217257    15.75   0.000     .2994955    .3846646
 ptanonrecip |  -.0598836    .031228    -1.92   0.055    -.1210936    .0013264
         gsp |  -.0968912    .018726    -5.17   0.000    -.1335961   -.0601863
currencyun~n |   .4914585   .0855724     5.74   0.000     .3237279    .6591891
    colorbit |   .8373085   .0795294    10.53   0.000     .6814228    .9931942
         gdp |   .6624894   .0111954    59.18   0.000     .6405453    .6844335
  yeardummy1 |  (dropped)
  yeardummy2 |    .190396   .0341086     5.58   0.000     .1235397    .2572523
  yeardummy3 |  -.0188945   .0419424    -0.45   0.652    -.1011058    .0633167
  yeardummy4 |  -.0133619   .0438455    -0.30   0.761    -.0993035    .0725797
  yeardummy5 |   -.249005   .0462682    -5.38   0.000    -.3396954   -.1583146
  yeardummy6 |   -.115062   .0476535    -2.41   0.016    -.2084676   -.0216564
  yeardummy7 |   -.351557   .0481752    -7.30   0.000    -.4459852   -.2571288
  yeardummy8 |  -.4465213   .0480231    -9.30   0.000    -.5406515   -.3523912
  yeardummy9 |  -.4021419   .0486988    -8.26   0.000    -.4975965   -.3066872
 yeardummy10 |  -.3814188    .049505    -7.70   0.000    -.4784537    -.284384
 yeardummy11 |  -.4072696   .0493385    -8.25   0.000     -.503978   -.3105612
 yeardummy12 |  -.3918725   .0497907    -7.87   0.000    -.4894673   -.2942778
 yeardummy13 |  -.4272769   .0495353    -8.63   0.000     -.524371   -.3301828
 yeardummy14 |  -.4261521   .0501851    -8.49   0.000    -.5245199   -.3277844
 yeardummy15 |  -.4392837   .0510127    -8.61   0.000    -.5392738   -.3392937
 yeardummy16 |   -.450175   .0512722    -8.78   0.000    -.5506738   -.3496763
 yeardummy17 |  -.4862948   .0522354    -9.31   0.000    -.5886814   -.3839082
 yeardummy18 |  -.5134396   .0532301    -9.65   0.000    -.6177761   -.4091032
 yeardummy19 |  -.5083565   .0539652    -9.42   0.000    -.6141338   -.4025793
 yeardummy20 |  -.5467432   .0546049   -10.01   0.000    -.6537742   -.4397122
 yeardummy21 |  -.5534188   .0551396   -10.04   0.000     -.661498   -.4453397
 yeardummy22 |  -.5943284   .0558841   -10.64   0.000    -.7038668     -.48479
 yeardummy23 |  -.5140584   .0557491    -9.22   0.000    -.6233323   -.4047844
 yeardummy24 |  -.5341478   .0561669    -9.51   0.000    -.6442406   -.4240549
 yeardummy25 |  -.5294673   .0565287    -9.37   0.000    -.6402693   -.4186653
 yeardummy26 |  -.5754099   .0572736   -10.05   0.000    -.6876719    -.463148
 yeardummy27 |  -.6031349   .0593037   -10.17   0.000    -.7193762   -.4868936
 yeardummy28 |  -.6223073   .0614919   -10.12   0.000    -.7428376   -.5017771
 yeardummy29 |  -.5009845   .0630863    -7.94   0.000    -.6246399    -.377329
 yeardummy30 |  -.5609058     .06353    -8.83   0.000    -.6854309   -.4363807
 yeardummy31 |  -.5746197   .0639348    -8.99   0.000    -.6999383    -.449301
 yeardummy32 |  -.5379857   .0644913    -8.34   0.000    -.6643952   -.4115763
 yeardummy33 |  -.5815106   .0652762    -8.91   0.000    -.7094585   -.4535627
 yeardummy34 |  -.5400582   .0660723    -8.17   0.000    -.6695665   -.4105499
 yeardummy35 |  -.5086228   .0659931    -7.71   0.000    -.6379759   -.3792697
 yeardummy36 |  -.4935748   .0650109    -7.59   0.000    -.6210028   -.3661468
 yeardummy37 |  -.5284937   .0642883    -8.22   0.000    -.6545053   -.4024821
 yeardummy38 |  -.5399186   .0639567    -8.44   0.000    -.6652801   -.4145571
 yeardummy39 |  -.4870752    .063301    -7.69   0.000    -.6111515   -.3629989
 yeardummy40 |  -.5099505   .0631371    -8.08   0.000    -.6337055   -.3861955
 yeardummy41 |  -.6188007   .0645619    -9.58   0.000    -.7453485   -.4922529
 yeardummy42 |   -.642568   .0656196    -9.79   0.000     -.771189   -.5139471
 yeardummy43 |   -.623577   .0660452    -9.44   0.000    -.7530322   -.4941219
 yeardummy44 |  -.6026042   .0660168    -9.13   0.000    -.7320037   -.4732047
 yeardummy45 |  -.6253557   .0672275    -9.30   0.000    -.7571284    -.493583
 yeardummy46 |  -.6848747   .0675014   -10.15   0.000    -.8171843   -.5525652
 yeardummy47 |  -.7108452   .0677487   -10.49   0.000    -.8436395    -.578051
 yeardummy48 |  -.6793949   .0671755   -10.11   0.000    -.8110656   -.5477241
 yeardummy49 |  -.6398515   .0675201    -9.48   0.000    -.7721978   -.5075052
 yeardummy50 |  -.6123308   .0687997    -8.90   0.000    -.7471851   -.4774765
 yeardummy51 |   -.626257   .0694954    -9.01   0.000    -.7624749    -.490039
 yeardummy52 |  -.6012633    .069276    -8.68   0.000    -.7370512   -.4654753
 yeardummy53 |  -.5793004   .0688539    -8.41   0.000     -.714261   -.4443398
 yeardummy54 |  -.6062065   .0687977    -8.81   0.000    -.7410569   -.4713561
 yeardummy55 |  -.5581748   .0688005    -8.11   0.000    -.6930308   -.4233189
 yeardummy56 |  -.5399501   .0689866    -7.83   0.000    -.6751707   -.4047294
 yeardummy57 |  -.5511297   .0695578    -7.92   0.000    -.6874699   -.4147894
 yeardummy58 |  -.5582861   .0712119    -7.84   0.000    -.6978686   -.4187035
 yeardummy59 |  -.4933406   .0737191    -6.69   0.000    -.6378374   -.3488438
       _cons |  -14.94641    .483125   -30.94   0.000    -15.89338   -13.99943
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17359 categories)

. tab gatt35x1 if e(sample)

  GATT: One |
invokes Art |
         35 |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |    379,591       99.46       99.46
          1 |      2,065        0.54      100.00
------------+-----------------------------------
      Total |    381,656      100.00

. tab gatt35x2 if e(sample)

 GATT: Both |
 invoke Art |
         35 |      Freq.     Percent        Cum.
------------+-----------------------------------
          0 |    381,487       99.96       99.96
          1 |        169        0.04      100.00
------------+-----------------------------------
      Total |    381,656      100.00

. di "gatt35x2: " %3.0f 100 * (exp(_b[gatt35x2]) - 1) "%"
gatt35x2: -75%

. di "gatt35x1: " %3.0f 100 * (exp(_b[gatt35x1]) - 1) "%"
gatt35x1:  30%

. areg imports gattPP gattPO gatt35x1 gatt35x2 ptarecip ptanonrecip gsp currenc
> yunion colorbit gdp yeardummy* if name_1~="Japan" & name_2~="Japan", absorb(d
> irected_dyad_id) cluster(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  368774
                                                       F( 68, 17041) =  257.24
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8358
                                                       Adj R-squared =  0.8358
                                                       Root MSE      =  .93749

                   (Std. Err. adjusted for 17042 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattPP |   .3292677   .0332099     9.91   0.000     .2641728    .3943626
      gattPO |   .1851007   .0291611     6.35   0.000     .1279419    .2422594
    gatt35x1 |   .0907896   .2062641     0.44   0.660    -.3135093    .4950885
    gatt35x2 |  -1.363727   .3242616    -4.21   0.000    -1.999313    -.728141
    ptarecip |   .3417188   .0217991    15.68   0.000     .2989903    .3844474
 ptanonrecip |  -.0745447   .0313675    -2.38   0.017    -.1360282   -.0130612
         gsp |  -.0847198   .0190532    -4.45   0.000     -.122066   -.0473737
currencyun~n |   .4908249   .0855565     5.74   0.000     .3231255    .6585244
    colorbit |   .8239992   .0793764    10.38   0.000     .6684132    .9795851
         gdp |   .6503449   .0116671    55.74   0.000     .6274761    .6732136
  yeardummy1 |  (dropped)
  yeardummy2 |   .2025318   .0334389     6.06   0.000     .1369881    .2680754
  yeardummy3 |    .026962   .0412531     0.65   0.513    -.0538983    .1078223
  yeardummy4 |   .0227391   .0431916     0.53   0.599    -.0619209    .1073991
  yeardummy5 |   -.230724   .0461945    -4.99   0.000      -.32127    -.140178
  yeardummy6 |  -.1094068   .0476138    -2.30   0.022    -.2027348   -.0160787
  yeardummy7 |  -.3398731   .0480981    -7.07   0.000    -.4341503   -.2455959
  yeardummy8 |  -.4290114     .04777    -8.98   0.000    -.5226456   -.3353772
  yeardummy9 |  -.3893212   .0485175    -8.02   0.000    -.4844206   -.2942219
 yeardummy10 |  -.3675386   .0493653    -7.45   0.000    -.4642997   -.2707776
 yeardummy11 |  -.3960838   .0491761    -8.05   0.000     -.492474   -.2996936
 yeardummy12 |  -.3844815   .0497741    -7.72   0.000    -.4820438   -.2869192
 yeardummy13 |  -.4166103   .0494807    -8.42   0.000    -.5135975   -.3196231
 yeardummy14 |  -.4201596   .0501922    -8.37   0.000    -.5185415   -.3217777
 yeardummy15 |  -.4259318    .051072    -8.34   0.000    -.5260382   -.3258254
 yeardummy16 |  -.4436418   .0513615    -8.64   0.000    -.5443157   -.3429679
 yeardummy17 |  -.4782565   .0523865    -9.13   0.000    -.5809395   -.3755735
 yeardummy18 |  -.5029975   .0534429    -9.41   0.000    -.6077511   -.3982439
 yeardummy19 |  -.4959608   .0542292    -9.15   0.000    -.6022556   -.3896661
 yeardummy20 |  -.5347042   .0549252    -9.74   0.000    -.6423633   -.4270452
 yeardummy21 |  -.5437007   .0554694    -9.80   0.000    -.6524265   -.4349748
 yeardummy22 |   -.586358   .0562418   -10.43   0.000    -.6965978   -.4761183
 yeardummy23 |  -.5037999   .0560769    -8.98   0.000    -.6137164   -.3938834
 yeardummy24 |   -.524039   .0565227    -9.27   0.000    -.6348294   -.4132486
 yeardummy25 |    -.52316   .0568845    -9.20   0.000    -.6346595   -.4116604
 yeardummy26 |  -.5686309    .057654    -9.86   0.000    -.6816387   -.4556231
 yeardummy27 |  -.5961408   .0597595    -9.98   0.000    -.7132756    -.479006
 yeardummy28 |  -.6123249   .0620582    -9.87   0.000    -.7339654   -.4906845
 yeardummy29 |  -.4910328   .0637742    -7.70   0.000    -.6160369   -.3660287
 yeardummy30 |   -.549045   .0642381    -8.55   0.000    -.6749583   -.4231317
 yeardummy31 |   -.562662   .0646292    -8.71   0.000    -.6893419   -.4359821
 yeardummy32 |  -.5233336   .0651814    -8.03   0.000    -.6510958   -.3955713
 yeardummy33 |  -.5600768   .0659319    -8.49   0.000    -.6893101   -.4308434
 yeardummy34 |  -.5191158   .0667906    -7.77   0.000    -.6500322   -.3881994
 yeardummy35 |  -.4880428    .066737    -7.31   0.000    -.6188542   -.3572314
 yeardummy36 |  -.4745439    .065671    -7.23   0.000    -.6032658   -.3458219
 yeardummy37 |  -.5083672   .0648959    -7.83   0.000    -.6355699   -.3811645
 yeardummy38 |  -.5192923   .0644988    -8.05   0.000    -.6457167   -.3928679
 yeardummy39 |  -.4666943   .0637826    -7.32   0.000    -.5917147   -.3416739
 yeardummy40 |  -.4881616   .0636007    -7.68   0.000    -.6128256   -.3634976
 yeardummy41 |  -.5914299   .0650447    -9.09   0.000    -.7189241   -.4639356
 yeardummy42 |  -.6112154   .0661295    -9.24   0.000     -.740836   -.4815947
 yeardummy43 |  -.5922684   .0665505    -8.90   0.000    -.7227143   -.4618224
 yeardummy44 |  -.5713343   .0665216    -8.59   0.000    -.7017234   -.4409451
 yeardummy45 |  -.5939458   .0678258    -8.76   0.000    -.7268913   -.4610003
 yeardummy46 |  -.6505755   .0680844    -9.56   0.000    -.7840279   -.5171231
 yeardummy47 |   -.671762   .0683051    -9.83   0.000    -.8056469    -.537877
 yeardummy48 |  -.6409922   .0676676    -9.47   0.000    -.7736277   -.5083567
 yeardummy49 |  -.5973387   .0680114    -8.78   0.000     -.730648   -.4640294
 yeardummy50 |  -.5666487   .0693504    -8.17   0.000    -.7025827   -.4307147
 yeardummy51 |  -.5809842   .0701276    -8.28   0.000    -.7184416   -.4435268
 yeardummy52 |  -.5567516   .0699238    -7.96   0.000    -.6938095   -.4196937
 yeardummy53 |  -.5348971   .0694929    -7.70   0.000    -.6711102   -.3986839
 yeardummy54 |  -.5612104   .0693972    -8.09   0.000     -.697236   -.4251848
 yeardummy55 |  -.5110094   .0693821    -7.37   0.000    -.6470054   -.3750134
 yeardummy56 |  -.4933317    .069606    -7.09   0.000    -.6297666   -.3568968
 yeardummy57 |   -.505428   .0702321    -7.20   0.000    -.6430902   -.3677659
 yeardummy58 |  -.5087142   .0719881    -7.07   0.000    -.6498183   -.3676101
 yeardummy59 |   -.435416   .0747092    -5.83   0.000    -.5818538   -.2889782
       _cons |  -14.40268   .5026968   -28.65   0.000    -15.38801   -13.41734
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17042 categories)

. di "gatt35x2: " %3.0f 100 * (exp(_b[gatt35x2]) - 1) "%"
gatt35x2: -74%

. di "gatt35x1: " %3.0f 100 * (exp(_b[gatt35x1]) - 1) "%"
gatt35x1:  10%

. 
. ***********************************************************************
. * TABLE 6: TRADE AGREEMENTS - ADDITIVE OR HIERARCHICAL                *
. * TABLE 7: INCREASE IN TRADE WITH AND WITHOUT HIGHER-ORDER AGREEMENTS *
. ***********************************************************************
. 
. di _n(2) "Hierarchy of Agreements (tested): dyadic fixed effects"


Hierarchy of Agreements (tested): dyadic fixed effects

. areg imports colorbit ptarecip_nohigher gattPP_nocolrecip gattPO_nocolrecip n
> onrecip_nohigher currencyunion gdp yeardummy* , absorb(directed_dyad_id) clus
> ter(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 65, 17358) =  287.04
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8394
                                                       Adj R-squared =  0.8393
                                                       Root MSE      =   .9386

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    colorbit |   1.099434   .0825175    13.32   0.000      .937691    1.261176
ptarecip_n~r |   .6536443   .0364476    17.93   0.000     .5822033    .7250852
gattPP_noc~p |   .3011276    .032063     9.39   0.000      .238281    .3639742
gattPO_noc~p |   .1913812   .0288839     6.63   0.000     .1347659    .2479966
nonrecip_n~r |   .3920597   .1136657     3.45   0.001     .1692634    .6148559
currencyun~n |    .508997   .0841876     6.05   0.000     .3439809    .6740132
         gdp |    .666419   .0112249    59.37   0.000      .644417    .6884209
  yeardummy1 |  (dropped)
  yeardummy2 |   .1862585   .0340743     5.47   0.000     .1194694    .2530475
  yeardummy3 |  -.0024925   .0415509    -0.06   0.952    -.0839364    .0789514
  yeardummy4 |   .0057521   .0433988     0.13   0.895    -.0793139    .0908182
  yeardummy5 |  -.2191772   .0457246    -4.79   0.000     -.308802   -.1295525
  yeardummy6 |  -.0825279   .0470603    -1.75   0.080    -.1747708     .009715
  yeardummy7 |  -.3210811   .0475849    -6.75   0.000    -.4143523     -.22781
  yeardummy8 |  -.4148445   .0474209    -8.75   0.000    -.5077942   -.3218947
  yeardummy9 |  -.3714859   .0481051    -7.72   0.000    -.4657768    -.277195
 yeardummy10 |  -.3474744   .0488878    -7.11   0.000    -.4432995   -.2516493
 yeardummy11 |   -.373806    .048785    -7.66   0.000    -.4694295   -.2781825
 yeardummy12 |  -.3587513   .0492323    -7.29   0.000    -.4552516   -.2622509
 yeardummy13 |  -.3934244   .0489714    -8.03   0.000    -.4894133   -.2974356
 yeardummy14 |  -.3928849   .0496738    -7.91   0.000    -.4902506   -.2955193
 yeardummy15 |  -.4053633   .0504088    -8.04   0.000    -.5041696    -.306557
 yeardummy16 |  -.4161973   .0506892    -8.21   0.000    -.5155533   -.3168413
 yeardummy17 |  -.4513217   .0515991    -8.75   0.000    -.5524613   -.3501822
 yeardummy18 |  -.4772087   .0525843    -9.08   0.000    -.5802792   -.3741381
 yeardummy19 |  -.4726335   .0532926    -8.87   0.000    -.5770925   -.3681746
 yeardummy20 |   -.513374   .0539354    -9.52   0.000    -.6190927   -.4076553
 yeardummy21 |  -.5217039   .0544982    -9.57   0.000    -.6285258    -.414882
 yeardummy22 |  -.5628992   .0551782   -10.20   0.000    -.6710541   -.4547443
 yeardummy23 |  -.4823169   .0550815    -8.76   0.000    -.5902822   -.3743515
 yeardummy24 |   -.502816    .055542    -9.05   0.000     -.611684    -.393948
 yeardummy25 |  -.4992697   .0558474    -8.94   0.000    -.6087363   -.3898032
 yeardummy26 |  -.5450745   .0566065    -9.63   0.000     -.656029   -.4341201
 yeardummy27 |  -.6108372   .0577866   -10.57   0.000    -.7241048   -.4975696
 yeardummy28 |  -.6342659   .0598714   -10.59   0.000    -.7516199   -.5169119
 yeardummy29 |  -.5139754   .0614384    -8.37   0.000    -.6344009   -.3935499
 yeardummy30 |  -.5764926    .061812    -9.33   0.000    -.6976503    -.455335
 yeardummy31 |   -.597863   .0620423    -9.64   0.000    -.7194722   -.4762539
 yeardummy32 |  -.5620547    .062588    -8.98   0.000    -.6847335   -.4393758
 yeardummy33 |  -.6071363   .0633278    -9.59   0.000    -.7312651   -.4830074
 yeardummy34 |  -.5655897   .0641335    -8.82   0.000    -.6912978   -.4398816
 yeardummy35 |  -.5337354   .0640351    -8.34   0.000    -.6592507   -.4082201
 yeardummy36 |  -.5209991    .062939    -8.28   0.000    -.6443658   -.3976324
 yeardummy37 |  -.5539996   .0621675    -8.91   0.000    -.6758542    -.432145
 yeardummy38 |  -.5660369   .0618051    -9.16   0.000     -.687181   -.4448927
 yeardummy39 |  -.5132267   .0610868    -8.40   0.000     -.632963   -.3934905
 yeardummy40 |  -.5357411   .0609434    -8.79   0.000    -.6551964   -.4162858
 yeardummy41 |  -.6492039   .0621843   -10.44   0.000    -.7710914   -.5273163
 yeardummy42 |  -.6726829   .0632704   -10.63   0.000    -.7966992   -.5486665
 yeardummy43 |  -.6532681   .0636998   -10.26   0.000    -.7781261   -.5284101
 yeardummy44 |  -.6322995   .0636572    -9.93   0.000    -.7570741    -.507525
 yeardummy45 |  -.6561425   .0647779   -10.13   0.000    -.7831138   -.5291712
 yeardummy46 |  -.7156103   .0650522   -11.00   0.000    -.8431191   -.5881015
 yeardummy47 |   -.736396   .0653651   -11.27   0.000    -.8645181   -.6082739
 yeardummy48 |  -.7094045   .0648071   -10.95   0.000    -.8364329    -.582376
 yeardummy49 |  -.6667588    .065153   -10.23   0.000    -.7944651   -.5390524
 yeardummy50 |  -.6458788   .0664918    -9.71   0.000    -.7762095   -.5155482
 yeardummy51 |  -.6572752   .0671585    -9.79   0.000    -.7889126   -.5256378
 yeardummy52 |  -.6340812   .0669495    -9.47   0.000     -.765309   -.5028534
 yeardummy53 |  -.6127637   .0665161    -9.21   0.000    -.7431419   -.4823854
 yeardummy54 |  -.6376158    .066439    -9.60   0.000    -.7678429   -.5073887
 yeardummy55 |  -.5865589   .0663248    -8.84   0.000    -.7165623   -.4565556
 yeardummy56 |  -.5647941   .0664742    -8.50   0.000    -.6950903    -.434498
 yeardummy57 |  -.5772762    .066981    -8.62   0.000    -.7085657   -.4459868
 yeardummy58 |  -.5846753   .0686992    -8.51   0.000    -.7193326   -.4500181
 yeardummy59 |  -.5137556    .071416    -7.19   0.000     -.653738   -.3737731
       _cons |  -15.12697   .4845362   -31.22   0.000    -16.07671   -14.17723
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17359 categories)

. estimates store t6_c1

. areg imports colorbit ptarecip_nohigher ptarecip_withhigher gattPP_nocolrecip
>  gattPP_withcolrecip gattPO_nocolrecip gattPO_withcolrecip nonrecip_nohigher 
> nonrecip_withhigher currencyunion gdp yeardummy*, absorb(directed_dyad_id) cl
> uster(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 69, 17358) =  273.11
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8397
                                                       Adj R-squared =  0.8397
                                                       Root MSE      =  .93753

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
    colorbit |    .802202   .0991447     8.09   0.000     .6078685    .9965355
ptarecip_n~r |   .3019733   .0661397     4.57   0.000     .1723329    .4316137
ptarecip_w~r |   .2335447   .0887215     2.63   0.008     .0596416    .4074478
gattPP_noc~p |   .3610594    .033531    10.77   0.000     .2953353    .4267835
gattPP_wit~p |    .438818   .0695366     6.31   0.000     .3025193    .5751167
gattPO_noc~p |   .2196427    .029638     7.41   0.000     .1615493    .2777362
gattPO_wit~p |     .15477   .0705101     2.20   0.028     .0165632    .2929769
nonrecip_n~r |   .3434889   .1140713     3.01   0.003     .1198976    .5670803
nonrecip_w~r |  -.1082965   .0183485    -5.90   0.000    -.1442615   -.0723315
currencyun~n |   .4952686   .0852267     5.81   0.000     .3282158    .6623214
         gdp |   .6605692   .0112087    58.93   0.000      .638599    .6825394
  yeardummy1 |  (dropped)
  yeardummy2 |   .1903575   .0341266     5.58   0.000     .1234661     .257249
  yeardummy3 |  -.0328869   .0420367    -0.78   0.434     -.115283    .0495091
  yeardummy4 |  -.0263128   .0439442    -0.60   0.549    -.1124478    .0598222
  yeardummy5 |  -.2622999   .0464256    -5.65   0.000    -.3532989    -.171301
  yeardummy6 |  -.1283951   .0478476    -2.68   0.007    -.2221811    -.034609
  yeardummy7 |  -.3645631   .0483378    -7.54   0.000    -.4593101    -.269816
  yeardummy8 |  -.4595368   .0482209    -9.53   0.000    -.5540547    -.365019
  yeardummy9 |  -.4148642   .0489061    -8.48   0.000    -.5107251   -.3190034
 yeardummy10 |  -.3913384   .0497062    -7.87   0.000    -.4887676   -.2939092
 yeardummy11 |  -.4166698   .0495753    -8.40   0.000    -.5138425   -.3194972
 yeardummy12 |  -.4017463   .0500065    -8.03   0.000    -.4997641   -.3037285
 yeardummy13 |   -.437537   .0497371    -8.80   0.000    -.5350267   -.3400473
 yeardummy14 |  -.4360223   .0504137    -8.65   0.000    -.5348382   -.3372065
 yeardummy15 |  -.4485808   .0511943    -8.76   0.000    -.5489268   -.3482348
 yeardummy16 |  -.4582771   .0514597    -8.91   0.000    -.5591433    -.357411
 yeardummy17 |   -.495293    .052441    -9.44   0.000    -.5980827   -.3925033
 yeardummy18 |  -.5222926    .053451    -9.77   0.000     -.627062   -.4175232
 yeardummy19 |  -.5173297   .0541631    -9.55   0.000    -.6234948   -.4111646
 yeardummy20 |  -.5557491   .0547923   -10.14   0.000    -.6631476   -.4483506
 yeardummy21 |  -.5625814   .0553326   -10.17   0.000    -.6710388    -.454124
 yeardummy22 |   -.602961   .0560748   -10.75   0.000    -.7128732   -.4930488
 yeardummy23 |  -.5224382   .0559392    -9.34   0.000    -.6320848   -.4127917
 yeardummy24 |  -.5420948   .0563814    -9.61   0.000    -.6526079   -.4315816
 yeardummy25 |  -.5374134    .056718    -9.48   0.000    -.6485864   -.4262405
 yeardummy26 |  -.5838351   .0574725   -10.16   0.000     -.696487   -.4711831
 yeardummy27 |  -.6106691   .0595175   -10.26   0.000    -.7273295   -.4940088
 yeardummy28 |  -.6311196   .0617093   -10.23   0.000    -.7520762   -.5101631
 yeardummy29 |  -.5096951   .0632901    -8.05   0.000      -.63375   -.3856402
 yeardummy30 |  -.5690261   .0637404    -8.93   0.000    -.6939637   -.4440885
 yeardummy31 |  -.5849504   .0641012    -9.13   0.000    -.7105952   -.4593057
 yeardummy32 |  -.5490202   .0646448    -8.49   0.000    -.6757304     -.42231
 yeardummy33 |  -.5927441   .0654041    -9.06   0.000    -.7209428   -.4645455
 yeardummy34 |  -.5508049   .0662031    -8.32   0.000    -.6805697   -.4210401
 yeardummy35 |  -.5191878   .0661001    -7.85   0.000    -.6487507   -.3896249
 yeardummy36 |  -.5056842   .0650956    -7.77   0.000    -.6332782   -.3780903
 yeardummy37 |  -.5409282   .0643639    -8.40   0.000     -.667088   -.4147684
 yeardummy38 |  -.5527259   .0640153    -8.63   0.000    -.6782022   -.4272495
 yeardummy39 |  -.5003053   .0633528    -7.90   0.000    -.6244832   -.3761273
 yeardummy40 |  -.5232369   .0632015    -8.28   0.000    -.6471182   -.3993556
 yeardummy41 |  -.6328883   .0645828    -9.80   0.000     -.759477   -.5062995
 yeardummy42 |  -.6560656   .0656452    -9.99   0.000    -.7847367   -.5273945
 yeardummy43 |  -.6370695   .0660555    -9.64   0.000     -.766545    -.507594
 yeardummy44 |  -.6154847    .066019    -9.32   0.000    -.7448886   -.4860807
 yeardummy45 |  -.6381777   .0671876    -9.50   0.000    -.7698722   -.5064832
 yeardummy46 |  -.6974614   .0674565   -10.34   0.000    -.8296829     -.56524
 yeardummy47 |  -.7216995   .0676681   -10.67   0.000    -.8543357   -.5890633
 yeardummy48 |  -.6927587   .0671245   -10.32   0.000    -.8243293    -.561188
 yeardummy49 |  -.6533999   .0674515    -9.69   0.000    -.7856116   -.5211882
 yeardummy50 |  -.6265439   .0687227    -9.12   0.000    -.7612474   -.4918404
 yeardummy51 |  -.6398657   .0694164    -9.22   0.000    -.7759288   -.5038027
 yeardummy52 |  -.6148876   .0691883    -8.89   0.000    -.7505037   -.4792716
 yeardummy53 |   -.592249   .0687622    -8.61   0.000    -.7270298   -.4574682
 yeardummy54 |  -.6200639   .0687042    -9.03   0.000     -.754731   -.4853968
 yeardummy55 |  -.5716529   .0686943    -8.32   0.000    -.7063006   -.4370051
 yeardummy56 |  -.5536858   .0688578    -8.04   0.000     -.688654   -.4187176
 yeardummy57 |  -.5645664   .0694472    -8.13   0.000      -.70069   -.4284429
 yeardummy58 |   -.571758    .071101    -8.04   0.000     -.711123    -.432393
 yeardummy59 |  -.5129127   .0735742    -6.97   0.000    -.6571256   -.3686999
       _cons |  -14.86323   .4837388   -30.73   0.000    -15.81141   -13.91505
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17359 categories)

. estimates store t6_c2

. di "colorbit: " %3.0f 100 * (exp(_b[colorbit]) - 1) "%"
colorbit: 123%

. di "ptarecip_nohigher: " %3.0f 100 * (exp(_b[ptarecip_nohigher]) - 1) "%"
ptarecip_nohigher:  35%

. di "ptarecip_withhigher: " %3.0f 100 * (exp(_b[ptarecip_withhigher]) - 1) "%"
ptarecip_withhigher:  26%

. di "gattPP_nocolrecip: " %3.0f 100 * (exp(_b[gattPP_nocolrecip]) - 1) "%"
gattPP_nocolrecip:  43%

. di "gattPP_withcolrecip: " %3.0f 100 * (exp(_b[gattPP_withcolrecip]) - 1) "%"
gattPP_withcolrecip:  55%

. di "gattPO_nocolrecip: " %3.0f 100 * (exp(_b[gattPO_nocolrecip]) - 1) "%"
gattPO_nocolrecip:  25%

. di "gattPO_withcolrecip: " %3.0f 100 * (exp(_b[gattPO_withcolrecip]) - 1) "%"
gattPO_withcolrecip:  17%

. di "nonrecip_nohigher: " %3.0f 100 * (exp(_b[nonrecip_nohigher]) - 1) "%"
nonrecip_nohigher:  41%

. di "nonrecip_withhigher: " %3.0f 100 * (exp(_b[nonrecip_withhigher]) - 1) "%"
nonrecip_withhigher: -10%

. estimates table t6_c1 t6_c2, se b(%5.2f) keep(colorbit ptarecip_nohigher ptar
> ecip_withhigher gattPP_nocolrecip gattPP_withcolrecip gattPO_nocolrecip gattP
> O_withcolrecip nonrecip_nohigher nonrecip_withhigher currencyunion gdp) stats
> (rmse r2 N N_clust) stfmt(%9.2f) title(Table6, p. 60) varwidth(15)

Table6, p. 60

-----------------------------------------
       Variable |   t6_c1       t6_c2    
----------------+------------------------
       colorbit |      1.10        0.80  
                |      0.08        0.10  
ptarecip_nohi~r |      0.65        0.30  
                |      0.04        0.07  
ptarecip_with~r |                  0.23  
                |                  0.09  
gattPP_nocolr~p |      0.30        0.36  
                |      0.03        0.03  
gattPP_withco~p |                  0.44  
                |                  0.07  
gattPO_nocolr~p |      0.19        0.22  
                |      0.03        0.03  
gattPO_withco~p |                  0.15  
                |                  0.07  
nonrecip_nohi~r |      0.39        0.34  
                |      0.11        0.11  
nonrecip_with~r |                 -0.11  
                |                  0.02  
  currencyunion |      0.51        0.50  
                |      0.08        0.09  
            gdp |      0.67        0.66  
                |      0.01        0.01  
----------------+------------------------
           rmse |      0.94        0.94  
             r2 |      0.84        0.84  
              N | 381656.00   381656.00  
        N_clust |  17359.00    17359.00  
-----------------------------------------
                             legend: b/se

. test ptarecip_withhigher gattPP_withcolrecip gattPO_withcolrecip nonrecip_wit
> hhigher

 ( 1)  ptarecip_withhigher = 0
 ( 2)  gattPP_withcolrecip = 0
 ( 3)  gattPO_withcolrecip = 0
 ( 4)  nonrecip_withhigher = 0

       F(  4, 17358) =   32.17
            Prob > F =    0.0000

. 
. **************
. * APPENDIX 1 *
. **************
. 
. tab name_1 if e(sample)

                           NAME_1 |      Freq.     Percent        Cum.
----------------------------------+-----------------------------------
                      Afghanistan |      1,312        0.34        0.34
                          Albania |      1,055        0.28        0.62
                          Algeria |      3,364        0.88        1.50
                           Angola |      1,847        0.48        1.99
                        Argentina |      3,412        0.89        2.88
                          Armenia |        459        0.12        3.00
                        Australia |      4,540        1.19        4.19
                  Austria (1919+) |      5,106        1.34        5.53
                       Azerbaijan |        586        0.15        5.68
                       Bangladesh |      1,913        0.50        6.18
                          Belarus |        835        0.22        6.40
                          Belgium |      1,111        0.29        6.69
                            Benin |      1,535        0.40        7.09
                           Bhutan |        117        0.03        7.12
                          Bolivia |      1,912        0.50        7.63
   Bosnia and Herzegovina (1992+) |        372        0.10        7.72
                         Botswana |        635        0.17        7.89
                           Brazil |      3,956        1.04        8.93
                         Bulgaria |      2,708        0.71        9.64
                     Burkina Faso |      1,255        0.33        9.96
                          Burundi |      1,027        0.27       10.23
                         Cambodia |      1,032        0.27       10.50
                         Cameroon |      2,440        0.64       11.14
                           Canada |      5,502        1.44       12.58
         Central African Republic |        914        0.24       12.82
                             Chad |        884        0.23       13.06
                            Chile |      2,935        0.77       13.83
                            China |      3,918        1.03       14.85
                         Colombia |      2,970        0.78       15.63
              Congo (Brazzaville) |      1,618        0.42       16.05
                 Congo (Kinshasa) |      2,358        0.62       16.67
                       Costa Rica |      2,320        0.61       17.28
                  Croatia (1991+) |        773        0.20       17.48
                             Cuba |      2,276        0.60       18.08
                   Czech Republic |      1,127        0.30       18.37
                   Czechoslovakia |      2,785        0.73       19.10
                          Denmark |      5,429        1.42       20.53
               Dominican Republic |      2,154        0.56       21.09
                          Ecuador |      2,522        0.66       21.75
                            Egypt |      4,044        1.06       22.81
                      El Salvador |      2,063        0.54       23.35
                          Eritrea |        227        0.06       23.41
                          Estonia |        785        0.21       23.62
                 Ethiopia (-1992) |      1,690        0.44       24.06
                 Ethiopia (1993+) |        554        0.15       24.20
                          Finland |      4,591        1.20       25.41
                           France |      6,681        1.75       27.16
                            Gabon |      1,380        0.36       27.52
                           Gambia |      1,147        0.30       27.82
                          Georgia |        473        0.12       27.94
                  Germany (1991+) |      1,907        0.50       28.44
         Germany East (1945-1990) |      1,782        0.47       28.91
         Germany West (1945-1990) |      4,457        1.17       30.08
                            Ghana |      2,802        0.73       30.81
                           Greece |      4,864        1.27       32.09
                        Guatemala |      2,307        0.60       32.69
                           Guinea |      1,343        0.35       33.04
                    Guinea-Bissau |        723        0.19       33.23
                            Haiti |      1,616        0.42       33.66
                         Honduras |      2,067        0.54       34.20
                        Hong Kong |      4,321        1.13       35.33
                  Hungary (1918+) |      3,426        0.90       36.23
                            India |      4,660        1.22       37.45
                        Indonesia |      3,388        0.89       38.34
                             Iran |      3,214        0.84       39.18
                             Iraq |      2,632        0.69       39.87
                          Ireland |      4,435        1.16       41.03
                           Israel |      3,238        0.85       41.88
                            Italy |      6,618        1.73       43.61
                      Ivory Coast |      2,509        0.66       44.27
                          Jamaica |      2,180        0.57       44.84
                            Japan |      6,256        1.64       46.48
                           Jordan |      2,824        0.74       47.22
                       Kazakhstan |        761        0.20       47.42
                            Kenya |      2,833        0.74       48.16
              Korea North (1949+) |      1,316        0.34       48.51
              Korea South (1949+) |      3,478        0.91       49.42
                           Kuwait |      2,684        0.70       50.12
                       Kyrgyzstan |        458        0.12       50.24
                             Laos |        852        0.22       50.46
                           Latvia |        693        0.18       50.65
                          Lebanon |      3,353        0.88       51.52
                          Lesotho |        401        0.11       51.63
                          Liberia |      1,731        0.45       52.08
                            Libya |      2,611        0.68       52.77
                        Lithuania |        784        0.21       52.97
            Macedonia FYR (1991+) |        607        0.16       53.13
                       Madagascar |      1,823        0.48       53.61
                           Malawi |      1,237        0.32       53.93
                         Malaysia |      3,103        0.81       54.75
                             Mali |      1,362        0.36       55.10
                       Mauritania |      1,127        0.30       55.40
                        Mauritius |      2,236        0.59       55.98
                           Mexico |      3,459        0.91       56.89
                          Moldova |        530        0.14       57.03
                         Mongolia |        652        0.17       57.20
                          Morocco |      3,783        0.99       58.19
                       Mozambique |      1,999        0.52       58.72
                          Myanmar |      1,849        0.48       59.20
                          Namibia |        485        0.13       59.33
                            Nepal |      1,021        0.27       59.59
                      Netherlands |      6,424        1.68       61.28
                      New Zealand |      3,279        0.86       62.14
                        Nicaragua |      1,948        0.51       62.65
                            Niger |      1,353        0.35       63.00
                          Nigeria |      3,259        0.85       63.86
                           Norway |      4,892        1.28       65.14
                             Oman |      1,879        0.49       65.63
                 Pakistan (-1971) |      1,081        0.28       65.91
                 Pakistan (1972+) |      2,444        0.64       66.55
                           Panama |      2,606        0.68       67.24
                 Papua New Guinea |      1,223        0.32       67.56
                         Paraguay |      1,552        0.41       67.96
                             Peru |      2,946        0.77       68.74
                      Philippines |      3,236        0.85       69.58
                           Poland |      3,939        1.03       70.62
                         Portugal |      4,878        1.28       71.89
                      Puerto Rico |         24        0.01       71.90
                          Romania |      3,361        0.88       72.78
                   Russia (1992-) |      1,259        0.33       73.11
                           Rwanda |      1,165        0.31       73.42
                     Saudi Arabia |      3,583        0.94       74.35
                          Senegal |      2,164        0.57       74.92
Serbia and Montenegro (1992-9999) |        376        0.10       75.02
                     Sierra Leone |      1,661        0.44       75.45
                        Singapore |      3,397        0.89       76.34
                         Slovakia |        930        0.24       76.59
                 Slovenia (1991+) |        983        0.26       76.85
                          Somalia |      1,205        0.32       77.16
                     South Africa |      3,238        0.85       78.01
                            Spain |      5,791        1.52       79.53
                        Sri Lanka |      3,034        0.79       80.32
                            Sudan |      2,606        0.68       81.01
                        Swaziland |        537        0.14       81.15
                           Sweden |      5,506        1.44       82.59
                      Switzerland |      5,907        1.55       84.14
                            Syria |      3,094        0.81       84.95
                           Taiwan |          6        0.00       84.95
                       Tajikistan |        390        0.10       85.05
                         Tanzania |      2,369        0.62       85.67
                         Thailand |      3,877        1.02       86.69
                             Togo |      1,722        0.45       87.14
              Trinidad and Tobago |      2,293        0.60       87.74
                          Tunisia |      3,266        0.86       88.60
                           Turkey |      3,870        1.01       89.61
                     Turkmenistan |        525        0.14       89.75
                               UK |      6,711        1.76       91.51
                              USA |      6,513        1.71       93.21
                 USSR (1917-1991) |      2,500        0.66       93.87
                           Uganda |      1,752        0.46       94.33
                          Ukraine |        963        0.25       94.58
             United Arab Emirates |      2,338        0.61       95.19
                          Uruguay |      3,030        0.79       95.98
                       Uzbekistan |        572        0.15       96.13
                        Venezuela |      3,226        0.85       96.98
          Vietnam Unified (1976+) |      2,034        0.53       97.51
         West Bank and Gaza Strip |         85        0.02       97.53
                      Yemen North |        901        0.24       97.77
                      Yemen South |        732        0.19       97.96
            Yemen Unified (1990-) |        824        0.22       98.18
           Yugoslavia (1918-1992) |      3,372        0.88       99.06
                           Zambia |      1,907        0.50       99.56
                         Zimbabwe |      1,672        0.44      100.00
----------------------------------+-----------------------------------
                            Total |    381,656      100.00

. return list

scalars:
                 r(N) =  381656
                 r(r) =  163

. 
. **********************************************************
. * TABLE 8: EFFECTS OF INTERNAITONAL AGREEMENTS OVER TIME *
. **********************************************************
. 
. * save memory by deleting some variables
. drop *round* gatt_* industrial* *_nohigher *_withhigher 

. drop gattPP_* gattPO_* gatt35* gattFF gattFN gattFO gattNN gattNO

. drop share_language land_area island landlocked share_border distance

. 
. * Make natural (restricted) cubic splines
. * the following loop specifies the knot locations for each time spline (each 
> trade agreement has its own time spline)
. gen time01 = (year-1946)/58             /* time, measured on a zero-to-one sc
> ale */

. local splines gattPP 1953 1976 1999 gattPO 1953 1976 1999 colorbit 1951 1960 
> 1970 ptarecip 1963 1981 1999 currencyunion 1951 1975 1999

. while "`splines'" ~= "" {
  2.    gettoken var splines : splines
  3.    gettoken knot1 splines : splines
  4.    gettoken knot2 splines : splines
  5.    gettoken knot3 splines : splines
  6.    local knot1 = (`knot1'-1946)/58
  7.    local knot2 = (`knot2'-1946)/58
  8.    local knot3 = (`knot3'-1946)/58
  9.    rc_spline time01, knots(`knot1' `knot2' `knot3') 
 10.    rename _Stime011 `var'_ns1
 11.    rename _Stime012 `var'_ns2
 12.    gen `var'_x_ns1 = `var' * `var'_ns1
 13.    gen `var'_x_ns2 = `var' * `var'_ns2
 14. }
 number of knots = 3
 value of knot 1 = .12068966
 value of knot 2 = .51724138
 value of knot 3 = .9137931
 number of knots = 3
 value of knot 1 = .12068966
 value of knot 2 = .51724138
 value of knot 3 = .9137931
 number of knots = 3
 value of knot 1 = .0862069
 value of knot 2 = .24137931
 value of knot 3 = .4137931
 number of knots = 3
 value of knot 1 = .29310345
 value of knot 2 = .60344828
 value of knot 3 = .9137931
 number of knots = 3
 value of knot 1 = .0862069
 value of knot 2 = .5
 value of knot 3 = .9137931

. 
. * Estimation with natural splines
. areg imports gattPP gattPP_x_ns* gattPO gattPO_x_ns* colorbit colorbit_x_ns* 
> ptarecip ptarecip_x_ns* currencyunion currencyunion_x_ns* ptanonrecip gsp gdp
>  yeardummy*, absorb(directed_dyad_id) cluster(directed_dyad_id) robust

Linear regression, absorbing indicators                Number of obs =  381656
                                                       F( 76, 17358) =  251.72
                                                       Prob > F      =  0.0000
                                                       R-squared     =  0.8403
                                                       Adj R-squared =  0.8403
                                                       Root MSE      =   .9358

                   (Std. Err. adjusted for 17359 clusters in directed_dyad_id)
------------------------------------------------------------------------------
             |               Robust
     imports |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
      gattPP |   .6874279   .0687299    10.00   0.000     .5527104    .8221455
gattPP_x_ns1 |  -1.030444   .2369886    -4.35   0.000    -1.494965   -.5659223
gattPP_x_ns2 |   .6102997   .3145442     1.94   0.052    -.0062387    1.226838
      gattPO |    .208165   .0601494     3.46   0.001     .0902662    .3260638
gattPO_x_ns1 |  -.1446345   .2226038    -0.65   0.516    -.5809603    .2916913
gattPO_x_ns2 |  -.0917046   .3034519    -0.30   0.762    -.6865009    .5030918
    colorbit |   1.027259   .1335645     7.69   0.000     .7654588    1.289058
colorbit_x~1 |  -1.770377   .8081718    -2.19   0.028    -3.354476   -.1862794
colorbit_x~2 |    .605896   .6463144     0.94   0.349    -.6609452    1.872737
    ptarecip |  -.1835142   .0878977    -2.09   0.037    -.3558025   -.0112259
ptarecip_x~1 |   .7021001   .1898694     3.70   0.000      .329937    1.074263
ptarecip_x~2 |   .0512709   .1927344     0.27   0.790    -.3265079    .4290497
currencyun~n |   .8382045   .1704156     4.92   0.000     .5041727    1.172236
curren~x_ns1 |  -1.030648   .4409099    -2.34   0.019    -1.894875   -.1664198
curren~x_ns2 |    .442721   .4488822     0.99   0.324    -.4371333    1.322575
 ptanonrecip |  -.0542877   .0312181    -1.74   0.082    -.1154784     .006903
         gsp |  -.0752784   .0187059    -4.02   0.000    -.1119437    -.038613
         gdp |   .6595565   .0112246    58.76   0.000     .6375552    .6815578
  yeardummy1 |   .2908064   .1058319     2.75   0.006     .0833652    .4982476
  yeardummy2 |   .4799057   .1031942     4.65   0.000     .2776346    .6821768
  yeardummy3 |   .2203086   .1043979     2.11   0.035     .0156783     .424939
  yeardummy4 |   .2227506   .1045089     2.13   0.033     .0179025    .4275986
  yeardummy5 |   -.036948   .1042621    -0.35   0.723    -.2413123    .1674162
  yeardummy6 |   .0906301   .1043339     0.87   0.385    -.1138749    .2951351
  yeardummy7 |   -.126219   .1033922    -1.22   0.222    -.3288782    .0764401
  yeardummy8 |  -.2176171   .1033346    -2.11   0.035    -.4201632   -.0150709
  yeardummy9 |   -.160877   .1029369    -1.56   0.118    -.3626438    .0408897
 yeardummy10 |   -.127722   .1024093    -1.25   0.212    -.3284545    .0730105
 yeardummy11 |  -.1424809   .1024424    -1.39   0.164    -.3432784    .0583165
 yeardummy12 |  -.1182605   .1028177    -1.15   0.250    -.3197935    .0832725
 yeardummy13 |  -.1456711   .1029327    -1.42   0.157    -.3474297    .0560874
 yeardummy14 |  -.1357369   .1033848    -1.31   0.189    -.3383816    .0669078
 yeardummy15 |  -.1379957    .104003    -1.33   0.185     -.341852    .0658606
 yeardummy16 |  -.1438699   .1041375    -1.38   0.167    -.3479898      .06025
 yeardummy17 |  -.1765133   .1048234    -1.68   0.092    -.3819777    .0289512
 yeardummy18 |  -.1987882    .105838    -1.88   0.060    -.4062413     .008665
 yeardummy19 |  -.1771096   .1062648    -1.67   0.096    -.3853993    .0311802
 yeardummy20 |  -.2060685   .1067456    -1.93   0.054    -.4153005    .0031636
 yeardummy21 |   -.204079   .1071472    -1.90   0.057    -.4140983    .0059404
 yeardummy22 |  -.2359006   .1079052    -2.19   0.029    -.4474057   -.0243955
 yeardummy23 |  -.1453435    .108453    -1.34   0.180    -.3579224    .0672353
 yeardummy24 |  -.1573178   .1085883    -1.45   0.147    -.3701617    .0555262
 yeardummy25 |  -.1436277   .1086455    -1.32   0.186    -.3565839    .0693284
 yeardummy26 |  -.1802585   .1087497    -1.66   0.097    -.3934189    .0329019
 yeardummy27 |  -.2087043    .108144    -1.93   0.054    -.4206774    .0032689
 yeardummy28 |  -.2096484   .1079678    -1.94   0.052    -.4212762    .0019795
 yeardummy29 |   -.080547   .1075936    -0.75   0.454    -.2914413    .1303473
 yeardummy30 |  -.1325679   .1068744    -1.24   0.215    -.3420526    .0769167
 yeardummy31 |  -.1474905   .1058305    -1.39   0.163    -.3549288    .0599478
 yeardummy32 |   -.105515   .1044637    -1.01   0.312    -.3102743    .0992444
 yeardummy33 |   -.142856   .1028483    -1.39   0.165    -.3444491    .0587371
 yeardummy34 |   -.096066   .1012409    -0.95   0.343    -.2945085    .1023764
 yeardummy35 |  -.0588589    .099409    -0.59   0.554    -.2537106    .1359928
 yeardummy36 |  -.0408344   .0973311    -0.42   0.675    -.2316131    .1499442
 yeardummy37 |  -.0694037   .0949267    -0.73   0.465    -.2554697    .1166622
 yeardummy38 |  -.0766172   .0924472    -0.83   0.407     -.257823    .1045887
 yeardummy39 |  -.0202482   .0896801    -0.23   0.821    -.1960303     .155534
 yeardummy40 |  -.0399453   .0867492    -0.46   0.645    -.2099825    .1300919
 yeardummy41 |   -.143941   .0833661    -1.73   0.084    -.3073469    .0194649
 yeardummy42 |  -.1626463   .0798263    -2.04   0.042    -.3191139   -.0061788
 yeardummy43 |  -.1402996   .0764575    -1.84   0.067     -.290164    .0095648
 yeardummy44 |   -.116407   .0726437    -1.60   0.109     -.258796    .0259819
 yeardummy45 |  -.1335548   .0684039    -1.95   0.051    -.2676333    .0005238
 yeardummy46 |  -.1901377   .0643627    -2.95   0.003    -.3162951   -.0639803
 yeardummy47 |  -.2173338   .0599026    -3.63   0.000    -.3347489   -.0999186
 yeardummy48 |  -.1869079   .0557483    -3.35   0.001    -.2961801   -.0776356
 yeardummy49 |  -.1438361   .0514985    -2.79   0.005    -.2447784   -.0428938
 yeardummy50 |  -.1173852   .0473071    -2.48   0.013    -.2101119   -.0246585
 yeardummy51 |  -.1283503   .0428996    -2.99   0.003    -.2124378   -.0442629
 yeardummy52 |  -.1066061   .0390431    -2.73   0.006    -.1831345   -.0300776
 yeardummy53 |  -.0860043   .0351272    -2.45   0.014    -.1548571   -.0171516
 yeardummy54 |  -.1122604   .0312124    -3.60   0.000    -.1734399   -.0510809
 yeardummy55 |  -.0618201   .0272251    -2.27   0.023     -.115184   -.0084561
 yeardummy56 |  -.0406752   .0237938    -1.71   0.087    -.0873135    .0059631
 yeardummy57 |  -.0498584   .0208295    -2.39   0.017    -.0906864   -.0090304
 yeardummy58 |  -.0561274   .0185917    -3.02   0.003     -.092569   -.0196858
 yeardummy59 |  (dropped)
       _cons |  -15.12786   .5327044   -28.40   0.000    -16.17201    -14.0837
-------------+----------------------------------------------------------------
directed_d~d |   absorbed                                   (17359 categories)

. mat V = e(V)

. foreach var in gattPP gattPO ptarecip colorbit currencyunion {
  2.    gen `var'_naturalspline = 100 * ( exp( _b[`var'] + _b[`var'_x_ns1]*`var
> '_ns1 + _b[`var'_x_ns2]*`var'_ns2 ) - 1 )
  3.    local tokeep `tokeep' `var'_naturalspline
  4. }

. keep year `tokeep'

. duplicates drop year, force

Duplicates in terms of year

(381597 observations deleted)

. foreach v in `tokeep' {
  2.    format `v' %4.0f
  3. }

. replace ptarecip_naturalspline = . if year < 1960
(14 real changes made, 14 to missing)

. replace colorbit_naturalspline = . if year > 1980
(24 real changes made, 24 to missing)

. sort year

. list year `tokeep' if year==1950 | year==1960 | year==1970 | year==1980 | yea
> r==1990 | year==2000

     +-------------------------------------------------------------+
     | year   gattPP~e   gattPO~e   ptarec~e   colorb~e   curren~e |
     |-------------------------------------------------------------|
  5. | 1950         85         22          .        147        115 |
 15. | 1960         55         19         -1         86         81 |
 25. | 1970         33         16         11         55         54 |
 35. | 1980         20         11         26         32         37 |
 45. | 1990         14          7         44          .         26 |
     |-------------------------------------------------------------|
 55. | 2000         11          2         64          .         18 |
     +-------------------------------------------------------------+

. 
. ************
. * FIGURE 1 *
. ************
. 
. line gattPP_naturalspline colorbit_naturalspline currencyunion_naturalspline 
> ptarecip_naturalspline year, ///
>    xlabel(1945(10)2005) ytitle(Percent increase in trade) xtitle(Year) clpatt
> ern(solid solid dot dash) ///
>    clcolor(black gs10 black black) ylabel(0(50)200, nogrid angle(horizontal))
>  legend(off) ///
>    text(165 1948 "Colonial orbit", placement(e)) text(70 1948 "GATT", placeme
> nt(e)) ///
>    text(29 1992 "Currency union",placement(e)) text(9 1960 "PTA", placement(e
> )) /// 
>    plotregion(style(none)) scheme(s1mono)

. graph export Figure1.ps, orientation(landscape) logo(off) replace mag(160)
(note: file Figure1.ps not found)
(file Figure1.ps written in PostScript format)

. 
. log close
       log:  /afs/ir.stanford.edu/users/t/o/tomz/GRT_IO_2007/GRT_IO_2007.log
  log type:  text
 closed on:  16 Jul 2007, 12:24:14
-------------------------------------------------------------------------------
